Why Nostr? What is Njump?
2024-10-28 22:53:58
in reply to

Negative12DollarBill on Nostr: All I know is it works in MySQL when I have one connection and multiple prepared ...

All I know is it works in MySQL when I have one connection and multiple prepared statements.

Are you suggesting I need to have like this (pseudocode) in order to be sure of my last_insert_id?

db1 = db.connect('user:pass@database')

updatefoo = db1.prepare('insert into foo (column) values (?)')

db2 = db.connect('user:pass@database')

updatebar = db2.prepare('insert into bar (column) values (?)')
Author Public Key
npub1kgmrjzpzgngflt9afpjcsz99rrttzl3k8q5a7yfmmujyk2rhmrjqcyef3q