fluentpdo
fluentpdo copied to clipboard
Returning query statement?
Hi, I'd like to ask if this kind of query is possible with this lib:
UPDATE partneri_settings_voucher
SET last_vs=last_vs+1
WHERE id_partner='abc'
RETURNING last_vs
What to do with int increments inside query without chaining select->update->select?
Maybe add $db->returning($column);
method?
returning
is not a currently supported method, it's something we can definitely add 👍