(?.), (?|.), (?&.)
) to Database.Persist.Postgresql.JSON
#863PersistValue
: added PersistArray
data constructorFilter
: Changed the filterValue :: Either a [a]
to filterValue :: FilterValue
openSimpleConnWithVersion
function. #883repsertMany
now matches mapM_ (uncurry repsert)
and is atomic.Added module Database.Persist.Postgresql.JSON
#793
PersistField
and PersistFieldSql
instances for Data.Aeson.Value
(@>.)
and (<@.)
to filter on JSON valuesnumeric
column's scale and precision can't be parsed. #781connPutManySql
to utilize batched putMany
. #770MonadBaseControl
to MonadUnliftIO
migrateEnableExtension
, to enable Postgres extensions in migrations.text
and varchar
are synonyms in Postgresql, don't attempt to migrate between them. #762withPostgresqlPoolWithVersion
, withPostgresqlConnWithVersion
and createPostgresqlPoolModifiedWithVersion
.Query pg_catalog instead of information_schema for metadata. This helps with permission issues as reported in issue #501
Fix treatment of NULL
s inside arrays. For example, now you
can use array_agg
on a nullable column.
New derived instances for PostgresConf
: Read
, Data
and Typeable
.
New mockMigration
function. Works like printMigration
but
doesn't need a database connection.
Fix typo on error message of the FromJSON
instance of PostgresConf
.
insertMany
function to insert all rows and retrieve their keys in one SQL query. #407Migrations for custom primary keys
Support foreign key references to composite primary keys #389
Show
instance for PostgresConf
.createPostgresqlPoolModified
added, see relevant mailing list discussionDocumentation typo fix
Added FromJSON
instance for PostgresConf
.