From 38e80351e6bb538604a1cdfde3623c3dae5538eb Mon Sep 17 00:00:00 2001 From: Nikita Volkov Date: Tue, 21 May 2019 18:51:53 +0300 Subject: [PATCH] Correct the docs --- library/Hasql/Private/Encoders.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Hasql/Private/Encoders.hs b/library/Hasql/Private/Encoders.hs index 83f1935..aa62f89 100644 --- a/library/Hasql/Private/Encoders.hs +++ b/library/Hasql/Private/Encoders.hs @@ -314,7 +314,7 @@ someParamsEncoder :: 'Params' [[Int64]] someParamsEncoder = 'param' ('nonNullable' ('array' ('dimension' 'foldl'' ('dimension' 'foldl'' ('element' ('nonNullable' 'int8')))))) @ -Please note that the PostgreSQL __IN__ keyword does not accept an array, but rather a syntactical list of +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 @value = ANY($1)@ condition instead. -} newtype Array a = Array (Array.Array a)