Skip to content

Commit 7f2f667

Browse files
committed
update
1 parent 3a1fdc3 commit 7f2f667

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/query.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ let {{.MethodName}} (db: NpgsqlConnection) ({{.Arg.Pair}}) =
8484
{{if eq .Cmd ":execrows"}}
8585
{{range .Comments}}//{{.}}
8686
{{end -}}
87-
let {{.MethodName}} db: NpgsqlConnection {{.Arg.Pair}} =
87+
let {{.MethodName}} (db: NpgsqlConnection) ({{.Arg.Pair}}) =
8888
db
8989
|> Sql.existingConnection
9090
|> Sql.query {{.ConstantName}}

testdata/gen/chat_jwt_secrets.sql.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ DELETE FROM jwt_secrets WHERE name = @name
8484

8585

8686

87-
let DeleteAllJwtSecrets db: NpgsqlConnection name: string =
87+
let DeleteAllJwtSecrets (db: NpgsqlConnection) (name: string) =
8888
db
8989
|> Sql.existingConnection
9090
|> Sql.query deleteAllJwtSecrets

0 commit comments

Comments
 (0)