Is anyone familiar with SQLDelight (KMP), i am having issue with inserting into one table where i have foreign key for example this is my table:
CREATE TABLE TimeSlot (
id INTEGER PRIMARY KEY,
seasonId INTEGER NOT NULL,
startTime TEXT NOT NULL,
endTime TEXT NOT NULL,
priceLevel INTEGER NOT NULL,
isWorkday INTEGER NOT NULL,
FOREIGN KEY (seasonId) REFERENCES Season(id)
);
and than i have insert like this:
insertTimeSlot:
INSERT OR REPLACE INTO TimeSlot(id, seasonId, startTime, endTime, priceLevel, isWorkday) VALUES (?, ?, ?, ?, ?, ?);
and whenn i run it fails with generated class for Queries saying
No value passed for parameter 'sql'.
🤔