WIP on docs and added basic enums supports
This commit is contained in:
1 parent
497fe5547b
commit
b6752f4364
22 files changed
+367
-35
No files matched your search
@@ -21,4 +21,22 @@ class SqliteQueryBuilder extends QueryBuilder implements Query\QueryBuilderInter
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function showColumns(string $table) : self
|
||||
{
|
||||
$this->pragma('table_info', $table, true);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function showTables(? string $database = null) : self
|
||||
{
|
||||
$show = new Query\Show();
|
||||
|
||||
$this->push($show);
|
||||
|
||||
$show->set(Query\Show::SQL_SHOW_TABLES, $database);
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user