Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
class ReifiesBackend b => Backend b #
Instances
class HasSqliteConn a #
Instances
HasSqliteConn Sqlite # | |
Defined in Napkin.Run.Sqlite |
class Command command return backend | backend command -> return #
Instances
sqliteUriSyntax :: String -> IO FilePath #
:: 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] #