You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to activate foreign_keys option on sqlite through a PRAGMA query but it is not being activated. The following code should print Set foreign_keys: (1,) but it always print Set foreign_keys: (0,). It is probably due to not using the same connection for all queries but generating a new one for each of them. Is there a way to overcome this issue?
It would be great if this library had a connection pool for sqlite, but I assume it's missing because it's not in aiosqlite (though it has been discussed: omnilib/aiosqlite#7 (comment))
Hello!
We are trying to activate foreign_keys option on sqlite through a PRAGMA query but it is not being activated. The following code should print
Set foreign_keys: (1,)
but it always printSet foreign_keys: (0,)
. It is probably due to not using the same connection for all queries but generating a new one for each of them. Is there a way to overcome this issue?The text was updated successfully, but these errors were encountered: