Skip to content

Commit 6e5a932

Browse files
committed
update readme
1 parent d0fd0c9 commit 6e5a932

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v4
8-
- uses: cachix/install-nix-action@v26
9-
- uses: cachix/cachix-action@v14
8+
- uses: cachix/install-nix-action@v27
109
with:
11-
name: devenv
10+
github_token: ${{ secrets.GITHUB_TOKEN }}
11+
- uses: cachix/cachix-action@v15
12+
with:
13+
name: mangosql
14+
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
1215
- name: Install devenv.sh
1316
run: nix profile install nixpkgs#devenv
1417
- name: Build the devenv shell and run any pre-commit hooks

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ err := db.Transaction(func(tx *database.DBClient) error {
7171
// ...
7272
})
7373

74-
// Handle dynamic clause (filters, pagination, ...)
74+
// Handle dynamic clauses (filters, pagination, ...)
7575
users, err := db.User.Where(func(cond database.SelectBuilder) database.SelectBuilder {
7676
return cond.Where("name ILIKE $1", "%user%").Offset(0).Limit(20)
7777
})
@@ -87,7 +87,7 @@ ids, err := db.User.UpsertMany([]database.UserUpdate{
8787

8888
## API
8989

90-
Here is the list of all the autogenerated methods for your tables:
90+
Here is the list of all the auto-generated methods for your tables:
9191

9292
## Getters
9393
* db.{Table}.Count()
@@ -106,4 +106,4 @@ Here is the list of all the autogenerated methods for your tables:
106106
## Batch Mutations
107107
* db.{Table}.CreateMany(inputs)
108108
* db.{Table}.UpdateMany(inputs)
109-
* db.{Table}.UpsertMany(inputs)
109+
* db.{Table}.UpsertMany(inputs)

0 commit comments

Comments
 (0)