mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-09 18:14:09 +02:00
New .rows_where(select=) argument
This commit is contained in:
parent
317071a552
commit
71782311ce
3 changed files with 11 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ def test_rows_where(where, where_args, expected_ids, fresh_db):
|
|||
],
|
||||
pk="id",
|
||||
)
|
||||
assert expected_ids == {r["id"] for r in table.rows_where(where, where_args)}
|
||||
assert expected_ids == {r["id"] for r in table.rows_where(where, where_args, select="id")}
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue