-
Notifications
You must be signed in to change notification settings - Fork 1
Research: getting data from postgres
Roman Pominov edited this page Jan 29, 2022
·
1 revision
https://stackoverflow.com/a/53964639
=> select NOW(), 5, * from people where age=$1 \gdesc
Column | Type
----------+--------------------------
now | timestamp with time zone
?column? | integer
id | integer
name | text
age | integer
(5 rows)
https://forum.rescript-lang.org/t/type-safe-database-access-with-rescript/2376
https://github.com/ygrek/sqlgg
https://github.com/darioteixeira/pgocaml
https://www.postgresql.org/docs/14/ecpg-sql-prepare.html
+
https://www.postgresql.org/docs/14/ecpg-sql-describe.html
=
https://github.com/darioteixeira/pgocaml/blob/master/doc/HOW_IT_WORKS.txt
Wire protocol implementation references: