Harald Eilertsen
9f8248cc9c
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.
2025-01-29 12:42:44 +01:00
..
2025-01-29 12:42:44 +01:00
2024-03-24 09:58:21 +00:00
2024-11-27 08:15:59 +00:00
2024-08-02 08:50:50 +00:00
2024-02-29 21:11:39 +00:00
2022-11-27 09:40:23 +00:00
2024-04-17 07:45:20 +00:00
2018-08-21 23:13:54 -07:00
2024-11-27 10:25:37 +01:00
2024-06-05 07:59:42 +00:00
2024-05-08 14:34:44 +00:00
2021-05-26 12:18:59 +00:00
2023-01-28 16:57:32 +00:00
2024-11-14 18:40:15 +00:00
2024-03-24 09:58:21 +00:00
2024-11-14 18:40:15 +00:00
2025-01-22 10:43:33 +01:00
2024-03-25 17:32:52 +00:00
2024-09-18 19:53:07 +00:00
2024-03-24 09:58:21 +00:00
2024-12-07 23:49:17 +01:00
2021-03-03 14:11:29 +01:00
2024-11-27 10:25:37 +01:00
2024-10-19 18:49:47 +00:00
2025-01-22 10:43:33 +01:00
2021-12-15 12:17:19 +00:00
2024-11-09 11:27:53 +01:00
2024-11-09 12:49:10 +01:00
2024-06-10 09:50:06 +00:00
2024-03-24 09:58:21 +00:00
2024-11-08 22:24:33 +01:00
2025-01-24 00:11:26 +01:00
2024-12-12 14:18:55 +00:00
2024-06-10 08:26:06 +00:00
2024-09-30 13:54:50 +02:00
2024-06-12 15:12:00 +02:00
2024-11-09 08:45:45 +01:00
2024-11-27 10:25:37 +01:00
2024-03-24 09:58:21 +00:00
2024-03-24 09:58:21 +00:00
2025-01-24 12:43:12 +01:00
2022-06-14 23:19:09 +02:00
2024-11-14 18:40:15 +00:00
2024-11-27 10:25:37 +01:00
2024-11-25 08:11:33 +00:00
2024-09-19 06:59:27 +00:00
2022-01-12 21:08:29 +00:00
2024-03-24 09:58:21 +00:00
2024-03-24 09:58:21 +00:00
2024-01-01 21:01:47 +01:00
2024-03-25 16:09:53 +00:00
2024-12-05 13:14:07 +00:00
2024-11-17 16:17:05 +01:00
2025-01-23 21:24:06 +01:00