mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-03 16:04:13 +02:00
.transform() on rowid (non-pk) tables bug fix, closes #284
This commit is contained in:
parent
5b257949d9
commit
0e797033f9
5 changed files with 100 additions and 16 deletions
|
|
@ -2088,8 +2088,8 @@ def test_insert_detect_types(tmpdir, option_or_env_var):
|
|||
assert result.exit_code == 0
|
||||
db = Database(db_path)
|
||||
assert list(db["creatures"].rows) == [
|
||||
{"rowid": 1, "name": "Cleo", "age": 6, "weight": 45.5},
|
||||
{"rowid": 2, "name": "Dori", "age": 1, "weight": 3.5},
|
||||
{"name": "Cleo", "age": 6, "weight": 45.5},
|
||||
{"name": "Dori", "age": 1, "weight": 3.5},
|
||||
]
|
||||
|
||||
if option_or_env_var is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue