MCPcopy
hub / github.com/piccolo-orm/piccolo / add

Method add

piccolo/engine/sqlite.py:411–412  ·  view source on GitHub ↗
(self, *query: Union[Query, DDL])

Source from the content-addressed store, hash-verified

409 self.queries: list[Union[Query, DDL]] = []
410
411 def add(self, *query: Union[Query, DDL]):
412 self.queries += list(query)
413
414 async def run(self):
415 from piccolo.query.methods.objects import Create, GetOrCreate

Callers 13

insertMethod · 0.45
create_db_tablesFunction · 0.45
drop_db_tablesFunction · 0.45
_get_graphFunction · 0.45
run_migrationsMethod · 0.45
__repr__Method · 0.45
test_errorMethod · 0.45
test_succeedsMethod · 0.45
runMethod · 0.45
run_atomicMethod · 0.45
test_addMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_errorMethod · 0.36
test_succeedsMethod · 0.36
runMethod · 0.36
run_atomicMethod · 0.36
test_addMethod · 0.36