mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-26 20:12:09 +03:00
Merge pull request #63 from agrafix/patch-1
Comment about "IN" queries.
This commit is contained in:
commit
79297ac68d
@ -488,6 +488,9 @@ instance Default (Value Aeson.Value) where
|
||||
-- >x =
|
||||
-- > array (arrayDimension foldl' (arrayDimension foldl' (arrayValue int8)))
|
||||
--
|
||||
-- Please note that the PostgreSQL __IN__ keyword does not "accept" an array, but rather a syntactical list of
|
||||
-- values, thus this encoder is not suited for that. Use a **field** = ANY($1) query instead.
|
||||
--
|
||||
newtype Array a =
|
||||
Array (Array.Array a)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user