mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 18:04:32 +02:00
order= is now order_by=, refs #197
This commit is contained in:
parent
2bc1e9c5b4
commit
bce1872109
3 changed files with 15 additions and 8 deletions
|
|
@ -1033,7 +1033,7 @@ def search(
|
|||
raise click.ClickException(
|
||||
"Table '{}' has no column '{}".format(dbtable, c)
|
||||
)
|
||||
sql = table_obj.search_sql(columns=column, order=order, limit=limit)
|
||||
sql = table_obj.search_sql(columns=column, order_by=order, limit=limit)
|
||||
if show_sql:
|
||||
click.echo(sql)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue