on dev help sign in
export constraints
3da57faMike Ledger
squeal-postgresql/src/Squeal/PostgreSQL/Expression.hs+3
@@ -88,6 +88,8 @@ module Squeal.PostgreSQL.Expression
88 -- ** json or jsonb operators
88 -- ** json or jsonb operators
89 , PGarray
89 , PGarray
90 , PGarrayOf
90 , PGarrayOf
91+ , PGjsonKey
92+ , PGjson
91 , (.->)
93 , (.->)
92 , (.->>)
94 , (.->>)
93 , (.#>)
95 , (.#>)
@@ -903,6 +905,7 @@ see https://www.postgresql.org/docs/10/static/functions-json.html
903-----------------------------------------}
905-----------------------------------------}
904
906
905type PGjsonKey key = key `In` '[ 'PGint2, 'PGint4, 'PGtext ]
907type PGjsonKey key = key `In` '[ 'PGint2, 'PGint4, 'PGtext ]
908+
906type PGjson_ json = json `In` '[ 'PGjson, 'PGjsonb ]
909type PGjson_ json = json `In` '[ 'PGjson, 'PGjsonb ]
907
910
908type Placeholder k
911type Placeholder k