// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.27.0
// source: query.sql

package querytest

import (
	"context"

	"github.com/google/uuid"
)

const demo = `-- name: Demo :one
SELECT uuid_generate_v5('7c4597a0-8cfa-4c19-8da0-b8474a36440d', $1)::uuid as col1
`

func (q *Queries) Demo(ctx context.Context, name string) (uuid.UUID, error) {
	row := q.db.QueryRowContext(ctx, demo, name)
	var col1 uuid.UUID
	err := row.Scan(&col1)
	return col1, err
}
