George MacKerron
1ca08cc523
Changed batch query body to from [...] to { queries: [...] } ( #4975 )
...
## Problem
It's nice if `single query : single response :: batch query : batch
response`.
But at present, in the single case we send `{ query: '', params: [] }`
and get back a single `{ rows: [], ... }` object, while in the batch
case we send an array of `{ query: '', params: [] }` objects and get
back not an array of `{ rows: [], ... }` objects but a `{ results: [ {
rows: [] , ... }, { rows: [] , ... }, ... ] }` object instead.
## Summary of changes
With this change, the batch query body becomes `{ queries: [{ query: '',
params: [] }, ... ] }`, which restores a consistent relationship between
the request and response bodies.
2023-08-14 16:07:33 +01:00
..
2023-08-02 12:38:12 +03:00
2023-07-20 13:39:19 -04:00
2023-08-03 17:20:24 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-03 15:21:10 +03:00
2023-07-03 15:21:10 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-08-03 17:20:24 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-06-30 14:17:44 -07:00
2023-08-03 17:20:24 +03:00
2023-08-10 11:05:27 +00:00
2023-08-08 09:16:21 +01:00
2023-04-13 14:34:29 +03:00
2023-08-03 17:20:24 +03:00
2023-08-03 17:20:24 +03:00
2023-07-31 07:43:12 +00:00
2023-08-09 16:27:53 +01:00
2023-08-09 16:27:53 +01:00
2023-04-13 14:34:29 +03:00
2023-08-03 17:20:24 +03:00
2023-07-18 12:56:40 +03:00
2023-04-25 14:10:18 +02:00
2023-04-13 14:34:29 +03:00
2023-08-03 17:20:24 +03:00
2023-07-21 21:20:53 +03:00
2023-07-10 20:01:01 +01:00
2023-08-03 17:20:24 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-08-03 17:20:24 +03:00
2023-05-05 02:57:47 +03:00
2023-04-13 14:34:29 +03:00
2023-08-08 12:41:37 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-08-10 15:24:43 +03:00
2023-04-13 14:34:29 +03:00
2023-08-14 16:07:33 +01:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-31 07:43:12 +00:00
2023-08-14 17:16:49 +03:00
2023-07-18 12:56:40 +03:00
2023-08-03 17:20:24 +03:00
2023-08-10 15:24:43 +03:00
2023-08-03 17:20:24 +03:00
2023-08-14 17:16:49 +03:00
2023-08-10 18:53:16 +03:00
2023-08-11 10:18:13 +03:00
2023-06-24 10:34:15 +03:00
2023-06-15 17:30:12 +03:00
2023-08-10 18:53:16 +03:00
2023-08-03 17:20:24 +03:00
2023-08-03 17:20:24 +03:00
2023-08-10 18:53:16 +03:00
2023-08-03 17:20:24 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-08-08 09:16:21 +01:00
2023-08-12 12:20:13 +03:00
2023-06-19 15:59:38 +04:00
2023-08-03 17:20:24 +03:00
2023-06-06 14:59:36 +01:00