// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.31.1 // source: bench_import.sql package dbgen import ( "context" "github.com/google/uuid" ) const insertBenchImportLog = `-- name: InsertBenchImportLog :exec INSERT INTO bench_import_log (organization_id, candidate_id, source, file_or_batch, legal_basis) VALUES ($1, $2, $3, $4, $5) ` type InsertBenchImportLogParams struct { OrganizationID uuid.UUID `json:"organization_id"` CandidateID *uuid.UUID `json:"candidate_id"` Source string `json:"source"` FileOrBatch string `json:"file_or_batch"` LegalBasis string `json:"legal_basis"` } // Bench import compliance log. The import command (cmd/import-bench) writes one row per committed // record with the operator provided legal basis. Tenant scoped under RLS (an org sees only its own). func (q *Queries) InsertBenchImportLog(ctx context.Context, arg InsertBenchImportLogParams) error { _, err := q.db.Exec(ctx, insertBenchImportLog, arg.OrganizationID, arg.CandidateID, arg.Source, arg.FileOrBatch, arg.LegalBasis, ) return err }