// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.31.1 // source: query.sql package querytest import ( "context" ) const barNotExists = `-- name: BarNotExists :one SELECT NOT EXISTS ( SELECT 1 FROM bar WHERE id = ? ) ` func (q *Queries) BarNotExists(ctx context.Context, id int64) (bool, error) { row := q.db.QueryRowContext(ctx, barNotExists, id) var not_exists bool err := row.Scan(¬_exists) return not_exists, err }