Skip to content

Commit 9306ce8

Browse files
- Document expected behaviour.
1 parent c8b0445 commit 9306ce8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/developer_guide.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,13 @@ time ./stackql exec --cpuprofile=./select-disks-improved-05.profile --auth='{ "g
268268
## AWS HTTP request signing
269269

270270
https://docs.aws.amazon.com/sdk-for-go/api/aws/signer/v4/
271+
272+
## Selection from non-select DML
273+
274+
`INSERT RETURNING` can function in two mechanisms:
275+
276+
- Synchronous responses, such as [`google.storage.buckets`](https://cloud.google.com/storage/docs/json_api/v1/buckets/insert). The returning clause is a projection on the immediately available reponse body.
277+
- Asynchronous responses, such as [`google.compute.instances`](https://cloud.google.com/compute/docs/reference/rest/v1/instances/insert). The returning clause is a projection on the reponse body **after** the await flow has concluded.
278+
279+
Future use cases for `UPDATE RETURNING`, `REPLACE RETURNING` and `DELETE RETURNING` will function the same observable fashion.
280+

0 commit comments

Comments
 (0)