Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sake92 committed Sep 6, 2024
1 parent 37f1c3f commit 47bbc42
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ git diff
git commit -am "msg"


$VERSION="0.6.1"
$VERSION="0.6.2"
git commit --allow-empty -am "Release $VERSION"
git tag -a $VERSION -m "Release $VERSION"
git push --atomic origin main $VERSION
Expand Down
2 changes: 1 addition & 1 deletion docs/src/files/tutorials/CodeGen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object CodeGen extends TutorialPage {

// if using Postgres JSONB
// import $$ivy.`ba.sake::squery-postgres-jawn:${Consts.ArtifactVersion}`
// import ba.sake.squery.postgres.jawn.*
// import ba.sake.squery.postgres.jawn.{*, given}

val dataSource = HikariDataSource()
dataSource.setJdbcUrl("jdbc:postgresql://localhost:5432/mydb")
Expand Down
10 changes: 5 additions & 5 deletions docs/src/files/tutorials/GettingStarted.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ object GettingStarted extends TutorialPage {
```scala
import ba.sake.squery.{*, given}
// import one of these if needed:
// import ba.sake.squery.postgres.given
// import ba.sake.squery.mysql.given
// import ba.sake.squery.mariadb.given
// import ba.sake.squery.oracle.given
// import ba.sake.squery.h2.given
// import ba.sake.squery.postgres.{*, given}
// import ba.sake.squery.mysql.{*, given}
// import ba.sake.squery.mariadb.{*, given}
// import ba.sake.squery.oracle.{*, given}
// import ba.sake.squery.h2.{*, given}
val ds = com.zaxxer.hikari.HikariDataSource()
ds.setJdbcUrl(..)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/utils/Consts.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object Consts:

val ArtifactOrg = "ba.sake"
val ArtifactName = "squery"
val ArtifactVersion = "0.6.1"
val ArtifactVersion = "0.6.2"

val GhHandle = "sake92"
val GhProjectName = "squery"
Expand Down
2 changes: 1 addition & 1 deletion examples/cli/hello.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.3.1"
//> using dep "ba.sake::squery:0.6.1"
//> using dep "ba.sake::squery:0.6.2"
//> using dep "com.h2database:h2:2.1.214"
//> using dep "com.lihaoyi::pprint:0.9.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,6 @@ object SqueryGeneratorConfig {
colNameIdentifierMapper = NameMapper.CamelCase,
typeNameMapper = NameMapper.CamelCase,
rowTypeSuffix = "Row",
daoTypeSuffix = "CrudDao"
daoTypeSuffix = "Dao"
)
}

0 comments on commit 47bbc42

Please sign in to comment.