on dev help sign in
stuff
930637eEitan Chatav
squeal-postgresql/src/Squeal/PostgreSQL/Expression.hs−1
@@ -196,7 +196,6 @@ module Squeal.PostgreSQL.Expression
196 , (&)
196 , (&)
197 , NP (..)
197 , NP (..)
198 , (:*:) (..)
198 , (:*:) (..)
199− , I (..)
200 , K (..)
199 , K (..)
201 ) where
200 ) where
202
201
squeal-postgresql/src/Squeal/PostgreSQL/Query.hs+4
@@ -468,6 +468,10 @@ instance RenderSQL (Selection outer grp commons schemas params from row) where
468 in
468 in
469 renderCommaSeparated renderOver winFns
469 renderCommaSeparated renderOver winFns
470
470
471+instance IsString
472+ (Selection outer grp commons schemas params from '["unI" ::: 'NotNull 'PGtext]) where
473+ fromString str = fromString str `as` #unI
474+
471-- | the `TableExpression` in the `select` command constructs an intermediate
475-- | the `TableExpression` in the `select` command constructs an intermediate
472-- virtual table by possibly combining tables, views, eliminating rows,
476-- virtual table by possibly combining tables, views, eliminating rows,
473-- grouping, etc. This table is finally passed on to processing by
477-- grouping, etc. This table is finally passed on to processing by