We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a086442 commit 57ceb71Copy full SHA for 57ceb71
src/Builder.php
@@ -22,6 +22,10 @@ class Builder extends Connect
22
23
public static function table($table)
24
{
25
+ //as all calls will start with this function, first check if database connection has being established
26
+ if(Connect::getConn()==null){
27
+ self::terminate(self::$response);
28
+ }
29
//TODO sanitize the table name
30
self::$table = $table;
31
0 commit comments