/
githubmirror
/
sqlc
Обзор
Документация
Войти
/
githubmirror
/
sqlc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/endtoend/testdata/json/mysql/go/query.sql.go
29 строк
497 B
Kyle Gray
Release 1.31.1 (#4407)
22 апр 2026, 17:52
Не верифицирован
22 апр 2026, 17:52
a95e91d
Код
Авторство
О чём код?
// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.31.1 // source: query.sql package querytest import ( "context" "encoding/json" ) const bulkInsert = `-- name: BulkInsert :copyfrom INSERT INTO foo (a, b) VALUES (?, ?) ` type BulkInsertParams struct { A json.RawMessage B json.RawMessage } const selectFoo = `-- name: SelectFoo :exec SELECT a, b FROM foo ` func (q *Queries) SelectFoo(ctx context.Context) error { _, err := q.db.ExecContext(ctx, selectFoo) return err }