ppx_pgsql
ppx_pgsql copied to clipboard
Syntax extension for embedded SQL queries using PG'OCaml.
pin ``` NOTE] Package ppx_pgsql is already pinned to git+https://github.com/tizoc/ppx_pgsql.git (version 0.4). Processing: [ppx_pgsql.0.4: git] [ppx_pgsql.0.4] no changes from git+https://github.com/tizoc/ppx_pgsql.git [WARNING] Failed checks on ppx_pgsql package definition from source at...
If we pass empty list, this code https://github.com/tizoc/ppx_pgsql/blob/master/lib/runtime/ppx_pgsql_runtime.ml#L49 generates `()` that postgres can't understand. For example: ``` SELECT COUNT(*) FROM users WHERE id IN (1,2,3) ``` is correct, but ```...
I have following table: ```reason let create_table = [%sqlf {| CREATE TABLE users ( id INTEGER NOT NULL PRIMARY KEY, email VARCHAR NOT NULL, name VARCHAR NOT NULL ) |}...
Closes https://github.com/tizoc/ppx_pgsql/issues/5
"ppx_pgsql's nullability heuristic has failed" for outer joins For example if we have 2 tables: ``` CREATE TABLE authors (id serial PRIMARY KEY, name varchar(255) NOT NULL); INSERT INTO authors...