WIP on docs and added basic enums supports

This commit is contained in:
mcndave committed 2023-01-14 02:19:42 +00:00
1 parent 497fe5547b
commit b6752f4364
22 files changed
+367 -35

No files matched your search

+18
View File
@@ -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;
}
}