@@ -102,7 +102,6 @@ instance DBType Bool where
102 { encode = Opaleye.ConstExpr . Opaleye.BoolLit
102 { encode = Opaleye.ConstExpr . Opaleye.BoolLit
103 , decode = Hasql.bool
103 , decode = Hasql.bool
104 , typeName = "bool"
104 , typeName = "bool"
@@ -112,7 +111,6 @@ instance DBType Char where
112 { encode = Opaleye.ConstExpr . Opaleye.StringLit . pure
111 { encode = Opaleye.ConstExpr . Opaleye.StringLit . pure
113 , decode = Hasql.char
112 , decode = Hasql.char
114 , typeName = "char"
113 , typeName = "char"
@@ -122,7 +120,6 @@ instance DBType Int16 where
122 { encode = Opaleye.ConstExpr . Opaleye.IntegerLit . toInteger
120 { encode = Opaleye.ConstExpr . Opaleye.IntegerLit . toInteger
123 , decode = Hasql.int2
121 , decode = Hasql.int2
124 , typeName = "int2"
122 , typeName = "int2"
@@ -132,7 +129,6 @@ instance DBType Int32 where
132 { encode = Opaleye.ConstExpr . Opaleye.IntegerLit . toInteger
129 { encode = Opaleye.ConstExpr . Opaleye.IntegerLit . toInteger
133 , decode = Hasql.int4
130 , decode = Hasql.int4
134 , typeName = "int4"
131 , typeName = "int4"
@@ -142,7 +138,6 @@ instance DBType Int64 where
142 { encode = Opaleye.ConstExpr . Opaleye.IntegerLit . toInteger
138 { encode = Opaleye.ConstExpr . Opaleye.IntegerLit . toInteger
143 , decode = Hasql.int8
139 , decode = Hasql.int8
144 , typeName = "int8"
140 , typeName = "int8"
@@ -152,7 +147,6 @@ instance DBType Float where
152 { encode = Opaleye.ConstExpr . Opaleye.NumericLit . realToFrac
147 { encode = Opaleye.ConstExpr . Opaleye.NumericLit . realToFrac
153 , decode = Hasql.float4
148 , decode = Hasql.float4
154 , typeName = "float4"
149 , typeName = "float4"
@@ -162,7 +156,6 @@ instance DBType Double where
162 { encode = Opaleye.ConstExpr . Opaleye.NumericLit . realToFrac
156 { encode = Opaleye.ConstExpr . Opaleye.NumericLit . realToFrac
163 , decode = Hasql.float8
157 , decode = Hasql.float8
164 , typeName = "float8"
158 , typeName = "float8"
@@ -172,7 +165,6 @@ instance DBType Scientific where
172 { encode = Opaleye.ConstExpr . Opaleye.NumericLit
165 { encode = Opaleye.ConstExpr . Opaleye.NumericLit
173 , decode = Hasql.numeric
166 , decode = Hasql.numeric
174 , typeName = "numeric"
167 , typeName = "numeric"
@@ -184,7 +176,6 @@ instance DBType UTCTime where
184 formatTime defaultTimeLocale "'%FT%T%QZ'"
176 formatTime defaultTimeLocale "'%FT%T%QZ'"
185 , decode = Hasql.timestamptz
177 , decode = Hasql.timestamptz
186 , typeName = "timestamptz"
178 , typeName = "timestamptz"
@@ -196,7 +187,6 @@ instance DBType Day where
196 formatTime defaultTimeLocale "'%F'"
187 formatTime defaultTimeLocale "'%F'"
197 , decode = Hasql.date
188 , decode = Hasql.date
198 , typeName = "date"
189 , typeName = "date"
@@ -208,7 +198,6 @@ instance DBType LocalTime where
208 formatTime defaultTimeLocale "'%FT%T%Q'"
198 formatTime defaultTimeLocale "'%FT%T%Q'"
209 , decode = Hasql.timestamp
199 , decode = Hasql.timestamp
210 , typeName = "timestamp"
200 , typeName = "timestamp"
@@ -220,7 +209,6 @@ instance DBType TimeOfDay where
220 formatTime defaultTimeLocale "'%T%Q'"
209 formatTime defaultTimeLocale "'%T%Q'"
221 , decode = Hasql.time
210 , decode = Hasql.time
222 , typeName = "time"
211 , typeName = "time"
@@ -232,7 +220,6 @@ instance DBType CalendarDiffTime where
232 formatTime defaultTimeLocale "'%bmon %0Es'"
220 formatTime defaultTimeLocale "'%bmon %0Es'"
233 , decode = CalendarDiffTime 0 . realToFrac <$> Hasql.interval
221 , decode = CalendarDiffTime 0 . realToFrac <$> Hasql.interval
234 , typeName = "interval"
222 , typeName = "interval"
@@ -242,7 +229,6 @@ instance DBType Text where
242 { encode = Opaleye.ConstExpr . Opaleye.StringLit . Text.unpack
229 { encode = Opaleye.ConstExpr . Opaleye.StringLit . Text.unpack
243 , decode = Hasql.text
230 , decode = Hasql.text
244 , typeName = "text"
231 , typeName = "text"
@@ -272,7 +258,6 @@ instance DBType ByteString where
272 { encode = Opaleye.ConstExpr . Opaleye.ByteStringLit
258 { encode = Opaleye.ConstExpr . Opaleye.ByteStringLit
273 , decode = Hasql.bytea
259 , decode = Hasql.bytea
274 , typeName = "bytea"
260 , typeName = "bytea"
@@ -289,7 +274,6 @@ instance DBType UUID where
289 { encode = Opaleye.ConstExpr . Opaleye.StringLit . UUID.toString
274 { encode = Opaleye.ConstExpr . Opaleye.StringLit . UUID.toString
290 , decode = Hasql.uuid
275 , decode = Hasql.uuid
291 , typeName = "uuid"
276 , typeName = "uuid"
@@ -302,7 +286,6 @@ instance DBType Value where
302 Lazy.unpack . Lazy.decodeUtf8 . Aeson.encode
286 Lazy.unpack . Lazy.decodeUtf8 . Aeson.encode
303 , decode = Hasql.jsonb
287 , decode = Hasql.jsonb
304 , typeName = "jsonb"
288 , typeName = "jsonb"