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 | command backend -> return #
Instances
sqliteUriSyntax :: String -> IO FilePath #
:: String | |
-> (BackendConn Sqlite -> IO b) | sqlite uri |
-> IO b |
columnsToSchema :: [SchemaColDef] -> Schema Field #
getSqliteConn :: HasSqliteConn a => BackendConn a -> Pool Connection #
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 (Fields Field) #