mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 18:04:32 +02:00
Improved .rows_where() documentation, added test for :named parameters
This commit is contained in:
parent
670f92285f
commit
2dad4f583c
2 changed files with 8 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ def test_rows(existing_db):
|
|||
[
|
||||
("name = ?", ["Pancakes"], {2}),
|
||||
("age > ?", [3], {1}),
|
||||
("age > :age", {"age": 3}, {1}),
|
||||
("name is not null", [], {1, 2}),
|
||||
("is_good = ?", [True], {1, 2}),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue