File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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, ...)
7575users , err := db.User .Where (func (cond database.SelectBuilder ) database.SelectBuilder {
7676 return cond.Where (" name ILIKE $1" , " %u ser% " ).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)
You can’t perform that action at this time.
0 commit comments