MCPcopy Index your code
hub / github.com/piccolo-orm/piccolo / run_sync

Method run_sync

tests/base.py:179–181  ·  view source on GitHub ↗
(self, query)

Source from the content-addressed store, hash-verified

177 """
178
179 def run_sync(self, query):
180 _Table = create_table_class(class_name="_Table")
181 return _Table.raw(query).run_sync()
182
183 def table_exists(self, tablename: str) -> bool:
184 _Table: type[Table] = create_table_class(

Callers 15

create_tablesMethod · 0.95
insert_rowMethod · 0.95
insert_rowsMethod · 0.95
insert_many_rowsMethod · 0.95
drop_tablesMethod · 0.95
table_existsMethod · 0.45
setUpMethod · 0.45
tearDownMethod · 0.45
test_list_tablesMethod · 0.45
test_create_and_dropMethod · 0.45
setUpMethod · 0.45

Calls 2

create_table_classFunction · 0.90
rawMethod · 0.80

Tested by 15

setUpMethod · 0.36
tearDownMethod · 0.36
test_list_tablesMethod · 0.36
test_create_and_dropMethod · 0.36
setUpMethod · 0.36
tearDownMethod · 0.36
test_move_tableMethod · 0.36
tearDownMethod · 0.36
test_rename_schemaMethod · 0.36
setUpMethod · 0.36
tearDownMethod · 0.36
setUpMethod · 0.36