Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. ISRManyKeys :: Text -> [PersistValue] -> InsertSqlResult

    persistent Database.Persist.Sql.Types.Internal

    No documentation available.

  2. connInsertManySql :: SqlBackend -> Maybe (EntityDef -> [[PersistValue]] -> InsertSqlResult)

    persistent Database.Persist.Sql.Types.Internal

    SQL for inserting many rows and returning their primary keys, for backends that support this functionality. If Nothing, rows will be inserted one-at-a-time using connInsertSql.

  3. connPutManySql :: SqlBackend -> Maybe (EntityDef -> Int -> Text)

    persistent Database.Persist.Sql.Types.Internal

    Some databases support performing bulk UPSERT, specifically "insert or replace many records" in a single call. This field when set, given * an entity definition * number of records to be inserted should produce a PUT MANY sql with placeholders for records When left as Nothing, we default to using defaultPutMany.

  4. connRepsertManySql :: SqlBackend -> Maybe (EntityDef -> Int -> Text)

    persistent Database.Persist.Sql.Types.Internal

    Some databases support performing bulk an atomic+bulk INSERT where constraint conflicting entities can replace existing entities. This field when set, given * an entity definition * number of records to be inserted should produce a INSERT sql with placeholders for primary+record fields When left as Nothing, we default to using defaultRepsertMany.

  5. setConnInsertManySql :: (EntityDef -> [[PersistValue]] -> InsertSqlResult) -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the connInsertManySql field on the SqlBackend. This should only be used by the database backend library to provide an efficient implementation of a bulk insert function. If this is not set, a slow default will be used.

  6. setConnPutManySql :: (EntityDef -> Int -> Text) -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the 'connPutManySql field on the SqlBackend. This should only be used by the database backend library to provide an efficient implementation of a bulk insert function. If this is not set, a slow default will be used.

  7. setConnRepsertManySql :: (EntityDef -> Int -> Text) -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the connRepsertManySql field on the SqlBackend. This should only be set by the database backend library. If this is not set, a slow default will be used.

  8. connInsertManySql :: SqlBackend -> Maybe (EntityDef -> [[PersistValue]] -> InsertSqlResult)

    persistent Database.Persist.SqlBackend.Internal

    SQL for inserting many rows and returning their primary keys, for backends that support this functionality. If Nothing, rows will be inserted one-at-a-time using connInsertSql.

  9. connPutManySql :: SqlBackend -> Maybe (EntityDef -> Int -> Text)

    persistent Database.Persist.SqlBackend.Internal

    Some databases support performing bulk UPSERT, specifically "insert or replace many records" in a single call. This field when set, given * an entity definition * number of records to be inserted should produce a PUT MANY sql with placeholders for records When left as Nothing, we default to using defaultPutMany.

  10. connRepsertManySql :: SqlBackend -> Maybe (EntityDef -> Int -> Text)

    persistent Database.Persist.SqlBackend.Internal

    Some databases support performing bulk an atomic+bulk INSERT where constraint conflicting entities can replace existing entities. This field when set, given * an entity definition * number of records to be inserted should produce a INSERT sql with placeholders for primary+record fields When left as Nothing, we default to using defaultRepsertMany.

Page 121 of many | Previous | Next