Home
last modified time | relevance | path

Searched refs:execute_batch (Results 1 – 25 of 31) sorted by relevance

12

/external/rust/android-crates-io/crates/rusqlite/src/
Dtransaction.rs125 conn.execute_batch(query).map(move |()| Transaction { in new_unchecked()
192 self.conn.execute_batch("COMMIT")?; in commit_()
204 self.conn.execute_batch("ROLLBACK")?; in rollback_()
253 conn.execute_batch(&format!("SAVEPOINT {name}")) in with_name_()
314 self.conn.execute_batch(&format!("RELEASE {}", self.name))?; in commit_()
328 .execute_batch(&format!("ROLLBACK TO {}", self.name)) in rollback()
558 db.execute_batch("CREATE TABLE foo (x INTEGER)")?; in checked_memory_handle()
567 tx.execute_batch("INSERT INTO foo VALUES(1)")?; in test_drop()
572 tx.execute_batch("INSERT INTO foo VALUES(2)")?; in test_drop()
604 tx.execute_batch("INSERT INTO foo VALUES(1)")?; in test_unchecked_nesting()
[all …]
Dlib.rs553 pub fn execute_batch(&self, sql: &str) -> Result<()> { in execute_batch() method
1315 Connection::open(&path)?.execute_batch( in test_concurrent_transactions_busy_commit()
1362 db.execute_batch(sql)?; in test_persistence()
1433 db.execute_batch(sql)?; in test_invalid_unicode_file_names()
1506 db.execute_batch(sql)?; in test_execute_batch()
1508 db.execute_batch("UPDATE foo SET x = 3 WHERE x < 3")?; in test_execute_batch()
1510 db.execute_batch("INVALID SQL").unwrap_err(); in test_execute_batch()
1517 db.execute_batch("CREATE TABLE foo(x INTEGER)")?; in test_execute()
1564 db.execute_batch("CREATE TABLE foo(x INTEGER);")?; in test_prepare_column_names()
1579 db.execute_batch("CREATE TABLE foo(x INTEGER);")?; in test_prepare_execute()
[all …]
Dstatement.rs907 db.execute_batch("CREATE TABLE foo(x INTEGER)")?; in test_execute_named()
949 db.execute_batch(sql)?; in test_stmt_execute_named()
969 db.execute_batch(sql)?; in test_query_named()
985 db.execute_batch(sql)?; in test_query_map_named()
1006 db.execute_batch(sql)?; in test_query_and_then_by_name()
1036 db.execute_batch(sql)?; in test_unbound_parameters_are_null()
1049 db.execute_batch("CREATE TABLE test (name TEXT, value INTEGER)")?; in test_raw_binding()
1081 db.execute_batch(sql)?; in test_unbound_parameters_are_reused()
1095 db.execute_batch("CREATE TABLE foo(x INTEGER UNIQUE)")?; in test_insert()
1115 db.execute_batch( in test_insert_different_tables()
[all …]
Dbackup.rs326 src.execute_batch("CREATE TABLE foo AS SELECT 42 AS x")?; in backup_to_path()
348 src.execute_batch(sql)?; in test_backup()
360 src.execute_batch("INSERT INTO foo VALUES(43)")?; in test_backup()
379 src.execute_batch(sql)?; in test_backup_temp()
392 src.execute_batch("INSERT INTO foo VALUES(43)")?; in test_backup_temp()
413 src.execute_batch(sql)?; in test_backup_attached()
430 src.execute_batch("INSERT INTO foo VALUES(43)")?; in test_backup_attached()
Dcolumn.rs199 db.execute_batch( in test_column_name_in_error()
241 db.execute_batch("CREATE TABLE y (x);")?; in test_column_name_reference()
245 db.execute_batch("ALTER TABLE y RENAME COLUMN x TO z;")?; in test_column_name_reference()
Dunlock_notify.rs100 db1.execute_batch("CREATE TABLE foo (x)")?; in test_unlock_notify()
105 tx2.execute_batch("INSERT INTO foo VALUES (42)").unwrap(); in test_unlock_notify()
Dbusy.rs117 db1.execute_batch("CREATE TABLE IF NOT EXISTS t(a)")?; in test_busy_handler()
120 db1.execute_batch("BEGIN EXCLUSIVE")?; in test_busy_handler()
Dserialize.rs142 db.execute_batch("CREATE TABLE x AS SELECT 'data'")?; in serialize()
154 src.execute_batch("CREATE TABLE x AS SELECT 'data'")?; in deserialize()
Dsession.rs786 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);")?; in one_changeset_insert()
799 db.execute_batch( in one_changeset_update()
802 db.execute_batch("INSERT INTO foo (t) VALUES ('bar');")?; in one_changeset_update()
813 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);")?; in one_changeset_strm()
879 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);")?; in test_changeset_apply()
918 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);")?; in test_changeset_apply_strm()
937 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);")?; in test_session_empty()
Dtrace.rs172 db.execute_batch("PRAGMA application_id = 1")?; in test_profile()
174 db.execute_batch("PRAGMA application_id = 2")?; in test_profile()
Dcache.rs280 db.execute_batch( in test_ddl()
294 db.execute_batch( in test_ddl()
Dcollation.rs209 db.execute_batch( in collate()
/external/rust/android-crates-io/crates/rusqlite/src/hooks/
Dpreupdate_hook.rs273 db.execute_batch("CREATE TABLE foo (t TEXT)")?; in test_preupdate_hook_insert()
274 db.execute_batch("INSERT INTO foo VALUES ('lisa')")?; in test_preupdate_hook_insert()
285 db.execute_batch("CREATE TABLE foo (t TEXT)")?; in test_preupdate_hook_delete()
286 db.execute_batch("INSERT INTO foo VALUES ('lisa')")?; in test_preupdate_hook_delete()
310 db.execute_batch("DELETE from foo")?; in test_preupdate_hook_delete()
321 db.execute_batch("CREATE TABLE foo (t TEXT)")?; in test_preupdate_hook_update()
322 db.execute_batch("INSERT INTO foo VALUES ('lisa')")?; in test_preupdate_hook_update()
368 db.execute_batch("UPDATE foo SET t = 'janice'")?; in test_preupdate_hook_update()
Dmod.rs787 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); COMMIT;")?; in test_commit_hook()
801 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); COMMIT;") in test_fn_commit_hook()
814 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); ROLLBACK;")?; in test_rollback_hook()
831 db.execute_batch("CREATE TABLE foo (t TEXT)")?; in test_update_hook()
832 db.execute_batch("INSERT INTO foo VALUES ('lisa')")?; in test_update_hook()
849 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); COMMIT;")?; in test_progress_handler()
863 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); COMMIT;") in test_progress_handler_interrupt()
873 db.execute_batch("CREATE TABLE foo (public TEXT, private TEXT)") in test_authorizer()
887 db.execute_batch( in test_authorizer()
897 db.execute_batch("DROP TABLE foo").unwrap_err(); in test_authorizer()
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dcallback_common.pyx.pxi77 async def execute_batch(GrpcCallWrapper grpc_call_wrapper, function
88 CallbackFailureHandler('execute_batch', operations, ExecuteBatchError))
126 await execute_batch(grpc_call_wrapper, ops, loop)
148 await execute_batch(grpc_call_wrapper, ops, loop)
159 await execute_batch(grpc_call_wrapper, ops, loop)
166 await execute_batch(grpc_call_wrapper, ops, loop)
185 await execute_batch(grpc_call_wrapper, ops, loop)
Dcall.pyx.pxi326 await execute_batch(self,
351 await execute_batch(self, ops, self._loop)
393 await execute_batch(self, ops, self._loop)
424 await execute_batch(self,
477 await execute_batch(self,
/external/rust/android-crates-io/crates/rusqlite/src/vtab/
Dcsvtab.rs353 db.execute_batch( in test_csv_module()
368 db.execute_batch("DROP TABLE vtab") in test_csv_module()
375 db.execute_batch("CREATE VIRTUAL TABLE vtab USING csv(filename='test.csv', header=yes)")?; in test_csv_cursor()
387 db.execute_batch("DROP TABLE vtab") in test_csv_cursor()
Dvtablog.rs276 db.execute_batch( in test_module()
/external/rust/android-crates-io/crates/rusqlite/benches/
Dexec.rs13 b.iter(|| db.execute_batch(sql).unwrap()); in bench_execute_batch()
/external/rust/android-crates-io/crates/rusqlite/src/types/
Durl.rs35 db.execute_batch("CREATE TABLE urls (i INTEGER, v TEXT)")?; in checked_memory_handle()
Dto_sql.rs451 db.execute_batch("CREATE TABLE foo (i128 BLOB, desc TEXT)")?; in test_i128()
496 db.execute_batch("CREATE TABLE foo (i128 BLOB, desc TEXT)")?; in test_non_zero_i128()
540 db.execute_batch("CREATE TABLE foo (id BLOB CHECK(length(id) = 16), label TEXT);")?; in test_uuid()
Dserde_json.rs71 db.execute_batch("CREATE TABLE foo (t TEXT, b BLOB)")?; in checked_memory_handle()
Dmod.rs148 db.execute_batch("CREATE TABLE foo (b BLOB, t TEXT, i INTEGER, f FLOAT, n)")?; in checked_memory_handle()
392 db.execute_batch("CREATE TABLE foo (x)")?; in test_numeric_conversions()
/external/rust/android-crates-io/crates/rusqlite/src/blob/
Dpos_io.rs202 db.execute_batch("CREATE TABLE test_table(content BLOB);")?; in test_pos_io()
Dmod.rs432 db.execute_batch(sql)?; in db_with_test_blob()

12