on dev help sign in
1 line
commite6d93ccce486ffca75f160afc1b6d4ad413fbdde authorEitan Chatav <eitan.chatav@gmail.com> dateWed 5 Dec 2018, 09:35 (8 years ago) parentaef1c84
1 file changed+1−2
squeal-postgresql/src/Squeal/PostgreSQL/Manipulation.hs+1−2
squeal-postgresql/src/Squeal/PostgreSQL/Manipulation.hs+1−2
@@ -66,10 +66,9 @@ simple insert:
6666
6767>>> type Columns = '["col1" ::: 'NoDef :=> 'Null 'PGint4, "col2" ::: 'Def :=> 'NotNull 'PGint4]
6868>>> type Schema = '["tab" ::: 'Table ('[] :=> Columns)]
69−>>> type Schemas = (Public Schema)
7069>>> :{
7170let
72− manipulation :: Manipulation (DBof Schemas) '[] '[]
71+ manipulation :: Manipulation (DBof (Public Schemas)) '[] '[]
7372 manipulation =
7473 insertRow_ #tab (Set 2 `as` #col1 :* Default `as` #col2)
7574in printSQL manipulation