Lines Matching refs:execute
19 tx.execute( in create_or_get_version()
59 tx.execute("INSERT INTO persistent.version (id, version) VALUES(0, ?);", params![version]) in create_or_get_version()
68 .execute("UPDATE persistent.version SET version = ? WHERE id = 0;", params![new_version]) in update_version()
102 conn.execute("ATTACH DATABASE 'file::memory:' as persistent;", NO_PARAMS).unwrap(); in upgrade_database_test()
107 tx.execute( in upgrade_database_test()
119 conn.execute( in upgrade_database_test()
134 conn.execute("DROP TABLE IF EXISTS persistent.version;", NO_PARAMS).unwrap(); in upgrade_database_test()
135 conn.execute("DROP TABLE IF EXISTS persistent.test;", NO_PARAMS).unwrap(); in upgrade_database_test()
136 conn.execute( in upgrade_database_test()
191 conn.execute("ATTACH DATABASE 'file::memory:' as persistent;", NO_PARAMS).unwrap(); in create_or_get_version_new_database()
279 conn.execute("ATTACH DATABASE 'file::memory:' as persistent;", NO_PARAMS).unwrap(); in create_or_get_version_legacy_database()
282 conn.execute( in create_or_get_version_legacy_database()