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.
connInsertSql :: SqlBackend -> EntityDef -> [PersistValue] -> InsertSqlResultpersistent Database.Persist.Sql.Types.Internal This function generates the SQL and values necessary for performing an insert against the database.
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.
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.
connInsertSql :: MkSqlBackendArgs -> EntityDef -> [PersistValue] -> InsertSqlResultpersistent Database.Persist.SqlBackend This function generates the SQL and values necessary for performing an insert against the database.
-
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.
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.
connInsertSql :: SqlBackend -> EntityDef -> [PersistValue] -> InsertSqlResultpersistent Database.Persist.SqlBackend.Internal This function generates the SQL and values necessary for performing an insert against the database.
ISRInsertGet :: Text -> Text -> InsertSqlResultpersistent Database.Persist.SqlBackend.Internal.InsertSqlResult No documentation available.
connInsertSql :: MkSqlBackendArgs -> EntityDef -> [PersistValue] -> InsertSqlResultpersistent Database.Persist.SqlBackend.Internal.MkSqlBackend This function generates the SQL and values necessary for performing an insert against the database.
statementCacheInsert :: StatementCache -> StatementCacheKey -> Statement -> IO ()persistent Database.Persist.SqlBackend.Internal.StatementCache No documentation available.