mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
table.extract() now works with rowid tables, refs #42
This commit is contained in:
parent
71782311ce
commit
2db6c5b2d5
3 changed files with 30 additions and 5 deletions
|
|
@ -26,7 +26,9 @@ 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, select="id")}
|
||||
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