(ctx context.Context)
| 19 | } |
| 20 | |
| 21 | func (q *Queries) WithAs(ctx context.Context) (WithAsRow, error) { |
| 22 | row := q.db.QueryRowContext(ctx, withAs) |
| 23 | var i WithAsRow |
| 24 | err := row.Scan(&i.X, &i.Y) |
| 25 | return i, err |
| 26 | } |
| 27 | |
| 28 | const withoutAs = `-- name: WithoutAs :one |
| 29 | SELECT 1 x, 2 y |
nothing calls this directly
no test coverage detected