Hoogle Search

Within LTS Haskell 23.26 (ghc-9.8.4)

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

  1. connInsertSql :: SqlBackend -> EntityDef -> [PersistValue] -> InsertSqlResult

    persistent Database.Persist.Sql.Types.Internal

    This function generates the SQL and values necessary for performing an insert against the database.

  2. mkInsertPlaceholders :: EntityDef -> (FieldNameDB -> Text) -> [(Text, Text)]

    persistent Database.Persist.Sql.Util

    Returns a list of escaped field names and "?" placeholder values for performing inserts. This does not include generated columns. Does not include generated columns.

  3. mkInsertValues :: PersistEntity rec => rec -> [PersistValue]

    persistent Database.Persist.Sql.Util

    Make a list PersistValue suitable for database inserts. Pairs nicely with the function mkInsertPlaceholders. Does not include generated columns.

  4. connInsertSql :: MkSqlBackendArgs -> EntityDef -> [PersistValue] -> InsertSqlResult

    persistent Database.Persist.SqlBackend

    This function generates the SQL and values necessary for performing an insert against the database.

  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. 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.

  7. connInsertSql :: SqlBackend -> EntityDef -> [PersistValue] -> InsertSqlResult

    persistent Database.Persist.SqlBackend.Internal

    This function generates the SQL and values necessary for performing an insert against the database.

  8. ISRInsertGet :: Text -> Text -> InsertSqlResult

    persistent Database.Persist.SqlBackend.Internal.InsertSqlResult

    No documentation available.

  9. connInsertSql :: MkSqlBackendArgs -> EntityDef -> [PersistValue] -> InsertSqlResult

    persistent Database.Persist.SqlBackend.Internal.MkSqlBackend

    This function generates the SQL and values necessary for performing an insert against the database.

  10. statementCacheInsert :: StatementCache -> StatementCacheKey -> Statement -> IO ()

    persistent Database.Persist.SqlBackend.Internal.StatementCache

    No documentation available.

Page 3 of many | Previous | Next