| Copyright | (c) Soostone Inc 2020 |
|---|---|
| License | AllRightsReserved |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Napkin.Run.Sqlite
Contents
Description
Documentation
class ReifiesBackend b => Backend b #
Minimal complete definition
Instances
class HasSqliteConn a #
Minimal complete definition
Instances
| HasSqliteConn Sqlite # | |
Defined in Napkin.Run.Sqlite Methods | |
class Command command return backend | backend command -> return #
Minimal complete definition
Instances
sqliteUriSyntax :: String -> IO FilePath #
Arguments
| :: String | |
| -> (BackendConn Sqlite -> IO b) | sqlite uri |
| -> IO b |
getSqliteConn :: HasSqliteConn a => BackendConn a -> Pool Connection #
data family BackendSchemaField bk #
Instances
getSchema :: (Katip f, HasSqliteConn bk, Command DropView t0 bk, RenderSql Query bk, RenderSql DropView bk, Command (CreateViewAs ()) t1 bk, MonadQueryStats f, bk ~ Sqlite) => bk -> BackendConn bk -> Relation -> f [BackendSchemaField bk] #