on dev help sign in
export constraints
commit3da57fa55f992b2f4ba2a0a493992629a03b3837 authorMike Ledger <mike@quasimal.com> dateTue 10 Jul 2018, 16:23 (8 years ago) parent0472429
1 file changed+3
squeal-postgresql/src/Squeal/PostgreSQL/Expression.hs+3
squeal-postgresql/src/Squeal/PostgreSQL/Expression.hs+3
@@ -88,6 +88,8 @@ module Squeal.PostgreSQL.Expression
8888 -- ** json or jsonb operators
8989 , PGarray
9090 , PGarrayOf
91+ , PGjsonKey
92+ , PGjson
9193 , (.->)
9294 , (.->>)
9395 , (.#>)
@@ -903,6 +905,7 @@ see https://www.postgresql.org/docs/10/static/functions-json.html
903905-----------------------------------------}
904906
905907type PGjsonKey key = key `In` '[ 'PGint2, 'PGint4, 'PGtext ]
908+
906909type PGjson_ json = json `In` '[ 'PGjson, 'PGjsonb ]
907910
908911type Placeholder k