We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a1fdc3 commit 7f2f667Copy full SHA for 7f2f667
templates/query.tmpl
@@ -84,7 +84,7 @@ let {{.MethodName}} (db: NpgsqlConnection) ({{.Arg.Pair}}) =
84
{{if eq .Cmd ":execrows"}}
85
{{range .Comments}}//{{.}}
86
{{end -}}
87
-let {{.MethodName}} db: NpgsqlConnection {{.Arg.Pair}} =
+let {{.MethodName}} (db: NpgsqlConnection) ({{.Arg.Pair}}) =
88
db
89
|> Sql.existingConnection
90
|> Sql.query {{.ConstantName}}
testdata/gen/chat_jwt_secrets.sql.fs
@@ -84,7 +84,7 @@ DELETE FROM jwt_secrets WHERE name = @name
-let DeleteAllJwtSecrets db: NpgsqlConnection name: string =
+let DeleteAllJwtSecrets (db: NpgsqlConnection) (name: string) =
|> Sql.query deleteAllJwtSecrets
0 commit comments