jw
05/28/2021, 1:42 AMwithContext(IO) { query.execute() }
jw
05/28/2021, 1:49 AMNikky
05/28/2021, 10:05 PMPhilip Dukhov
05/30/2021, 11:38 AMCollection<Int?>
type.spierce7
06/01/2021, 9:18 PMalec
06/01/2021, 11:08 PMspierce7
06/01/2021, 11:28 PMCREATE TABLE DeviceRecording (
id INTEGER PRIMARY KEY AUTOINCREMENT,
json TEXT NOT NULL
);
The generated model has a non-nullable id
, which makes it difficult to insert a DeviceRecording
because in order to create one, I have to provide an ID. What’s the work-around? Am I thinking about this wrong?jw
06/01/2021, 11:34 PMjw
06/01/2021, 11:34 PMspierce7
06/02/2021, 1:23 AMAbhishek Dewan
06/02/2021, 1:28 AMSiggi Gunnarss
06/02/2021, 12:07 PMiosArm32?
target?jw
06/02/2021, 12:08 PMSiggi Gunnarss
06/02/2021, 2:05 PMTrevor Stone
06/02/2021, 7:27 PMmbonnin
06/03/2021, 1:33 PMsocketFd: Int
? I've found UnixFileHandle
but it takes a FILE
as inputjw
06/03/2021, 2:00 PMjw
06/03/2021, 2:00 PMmbonnin
06/03/2021, 2:01 PMjw
06/03/2021, 2:01 PMmbonnin
06/15/2021, 2:15 PM.sq
file:
DELETE FROM records WHERE key LIKE ? ESCAPE '\';
generates a query like
"""DELETE FROM records WHERE key LIKE ? ESCAPE '\\'""" <== backslash is escaped here
which throws at runtime with:
ESCAPE expression must be a single character
Am I escaping wrong?alec
06/15/2021, 3:52 PMmbonnin
06/15/2021, 3:56 PM\
but that got me puzzled for a whilembonnin
06/15/2021, 4:00 PMDaniele B
06/16/2021, 1:42 AMjw
06/16/2021, 1:48 AMDaniele B
06/16/2021, 1:49 AMjw
06/16/2021, 1:52 AMFlow
which is exposed to the composablesDaniele B
06/16/2021, 1:56 AMfun main() {
myComposeApp { myModel ->
renderComposable(rootElementId = "root") {
MainComposable(myModel)
}
}
}
where MyModel
is returned after the SqlDriver is readyjw
06/16/2021, 1:57 AM