@@ -902,8 +902,8 @@ json and jsonb operators
902see https://www.postgresql.org/docs/10/static/functions-json.html
902see https://www.postgresql.org/docs/10/static/functions-json.html
903-----------------------------------------}
903-----------------------------------------}
905−type IsJSONKey key = key `In` '[ 'PGint2, 'PGint4, 'PGtext ]
905+type PGjsonKey key = key `In` '[ 'PGint2, 'PGint4, 'PGtext ]
906−type IsJSON json = json `In` '[ 'PGjson, 'PGjsonb ]
906+type PGjson_ json = json `In` '[ 'PGjson, 'PGjsonb ]
908type Placeholder k
908type Placeholder k
909 = 'Text "(_"
909 = 'Text "(_"
@@ -937,7 +937,7 @@ type IsPGtextArray arr = PGarrayOf arr 'PGtext
938-- | Get JSON value (object field or array element) at a key.
938-- | Get JSON value (object field or array element) at a key.
940− :: (IsJSON json, IsJSONKey key)
940+ :: (PGjson_ json, PGjsonKey key)
941 => Expression schema relations grouping params (jnull json)
941 => Expression schema relations grouping params (jnull json)
942 -> Expression schema relations grouping params (knull key)
942 -> Expression schema relations grouping params (knull key)
943 -> Expression schema relations grouping params ('Null json)
943 -> Expression schema relations grouping params ('Null json)
@@ -945,7 +945,7 @@ type IsPGtextArray arr = PGarrayOf arr 'PGtext
946-- | Get JSON value (object field or array element) at a key, as text.
946-- | Get JSON value (object field or array element) at a key, as text.
948− :: (IsJSON json, IsJSONKey key)
948+ :: (PGjson_ json, PGjsonKey key)
949 => Expression schema relations grouping params (jnull json)
949 => Expression schema relations grouping params (jnull json)
950 -> Expression schema relations grouping params (knull key)
950 -> Expression schema relations grouping params (knull key)
951 -> Expression schema relations grouping params ('Null 'PGtext)
951 -> Expression schema relations grouping params ('Null 'PGtext)
@@ -953,7 +953,7 @@ type IsPGtextArray arr = PGarrayOf arr 'PGtext
954-- | Get JSON value at a specified path.
954-- | Get JSON value at a specified path.
956− :: (IsJSON json, IsPGtextArray path)
956+ :: (PGjson_ json, IsPGtextArray path)
957 => Expression schema relations grouping params (jnull json)
957 => Expression schema relations grouping params (jnull json)
958 -> Expression schema relations grouping params (knull path)
958 -> Expression schema relations grouping params (knull path)
959 -> Expression schema relations grouping params ('Null json)
959 -> Expression schema relations grouping params ('Null json)
@@ -961,7 +961,7 @@ type IsPGtextArray arr = PGarrayOf arr 'PGtext
962-- | Get JSON value at a specified path as text.
962-- | Get JSON value at a specified path as text.
964− :: (IsJSON json, IsPGtextArray path)
964+ :: (PGjson_ json, IsPGtextArray path)
965 => Expression schema relations grouping params (jnull json)
965 => Expression schema relations grouping params (jnull json)
966 -> Expression schema relations grouping params (knull path)
966 -> Expression schema relations grouping params (knull path)
967 -> Expression schema relations grouping params ('Null 'PGtext)
967 -> Expression schema relations grouping params ('Null 'PGtext)