-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce71644
commit f3dd8cb
Showing
15 changed files
with
815 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
quill-doobie/src/main/scala/io/getquill/doobie/DoobieContext.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package io.getquill.doobie | ||
|
||
import io.getquill._ | ||
import io.getquill.context.jdbc._ | ||
|
||
object DoobieContext { | ||
|
||
class H2[N <: NamingStrategy](val naming: N) | ||
extends DoobieContextBase[H2Dialect, N] | ||
with H2JdbcTypes[N] | ||
|
||
class MySQL[N <: NamingStrategy](val naming: N) | ||
extends DoobieContextBase[MySQLDialect, N] | ||
with MysqlJdbcTypes[N] | ||
|
||
class Oracle[N <: NamingStrategy](val naming: N) | ||
extends DoobieContextBase[OracleDialect, N] | ||
with OracleJdbcTypes[N] | ||
|
||
class Postgres[N <: NamingStrategy](val naming: N) | ||
extends DoobieContextBase[PostgresDialect, N] | ||
with PostgresJdbcTypes[N] | ||
|
||
class SQLite[N <: NamingStrategy](val naming: N) | ||
extends DoobieContextBase[SqliteDialect, N] | ||
with SqliteJdbcTypes[N] | ||
|
||
class SQLServer[N <: NamingStrategy](val naming: N) | ||
extends DoobieContextBase[SQLServerDialect, N] | ||
with SqlServerJdbcTypes[N] | ||
|
||
} |
Oops, something went wrong.