0

I use python aiopg package and want to group requests into big one using semicolons.
I tried Cursor.nextset(), but it marked as "Not supported"

It should be something like

Query = '''
    select *
    from product
    where id = 74;

    select id, name
    from product_group
    where name = 'john';
'''

await Cursor.execute(Query)
for x in Cursor.some_fetch_list(): # ???
  print(await x.fetchall())
VladVons
  • 27
  • 3

0 Answers0