aboutsummaryrefslogtreecommitdiffstats
path: root/view/es
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2025-01-12 23:14:20 +0100
committerHarald Eilertsen <haraldei@anduin.net>2025-01-29 12:42:44 +0100
commit9f8248cc9ced2b724516e876a52a0b78fa37e802 (patch)
tree717d6bd44f7dcd4d9e2f68044666733e79f05f6d /view/es
parent71e4326606c416cff077009f49a63d134c458557 (diff)
downloadvolse-hubzilla-9f8248cc9ced2b724516e876a52a0b78fa37e802.tar.gz
volse-hubzilla-9f8248cc9ced2b724516e876a52a0b78fa37e802.tar.bz2
volse-hubzilla-9f8248cc9ced2b724516e876a52a0b78fa37e802.zip
Use returning clause on dba_pdo::insert where supported
By using the returning clause when inserting a new record, we get back the inserted record right away; thus saving us an extra roundtrip to the database. Both PostgreSQL and MariaDB supports this clause, but MySQL don't. In that case we fall back to manually fetching the last inserted row.
Diffstat (limited to 'view/es')
0 files changed, 0 insertions, 0 deletions