-- name: InsertNonLiveOdd :exec INSERT INTO odds ( event_id, market_type, header, name, odds_value, handicap, section, category, market_id, is_active, source, fetched_at, raw_event_id ) VALUES ( $1, $2, $3, $4, $5, $6, $7, $8, $9, true, 'b365api', now(), $10 ); -- name: GetUpcomingEventIDs :many SELECT id FROM events WHERE is_live = false;