replace Id with ID

This commit is contained in:
2025-02-13 08:00:49 -06:00
parent f948a06b66
commit 32facb1767
19 changed files with 172 additions and 169 deletions

View File

@@ -489,14 +489,14 @@ func (q *Queries) GetSvgCount(ctx context.Context) (int64, error) {
return count, err
}
const getSvgId = `-- name: GetSvgId :one
const getSvgID = `-- name: GetSvgID :one
SELECT svg
FROM svg_icon
WHERE id = ?
`
func (q *Queries) GetSvgId(ctx context.Context, id int64) (string, error) {
row := q.db.QueryRowContext(ctx, getSvgId, id)
func (q *Queries) GetSvgID(ctx context.Context, id int64) (string, error) {
row := q.db.QueryRowContext(ctx, getSvgID, id)
var svg string
err := row.Scan(&svg)
return svg, err