Skip to content

Commit

Permalink
🗃️ Update doc/sql.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and kkharji committed Aug 26, 2021
1 parent a46ee6b commit a7faa20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/sql.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,13 @@ DB:drop({tbl_name}) *DB:drop()*
`db:drop("todos")` drop table.


DB:schema({tbl_name}, {info}) *DB:schema()*
DB:schema({tbl_name}) *DB:schema()*
Get {name} table schema, if table does not exist then return an empty
table.


Parameters: ~
{tbl_name} (string) the table name.
{info} (boolean) whether to return table info. default false.
{tbl_name} (string) the table name.

Return: ~
table list of keys or keys and their type.
Expand Down

0 comments on commit a7faa20

Please sign in to comment.