jw
11/10/2020, 2:52 AMval bufferedSource = source().buffer()
val cipher = try {
val ivSize = bufferedSource.readInt()
val iv = bufferedSource.readByteArray(ivSize.toLong())
getDecryptionCipher(iv)
} catch (e: IOException) {
try {
bufferedSource.close()
} catch (inner: IOException) {
e.addSuppressed(inner)
}
throw e
}
return bufferedSource.cipherSource(cipher)
dimsuz
11/17/2020, 4:42 PMVailo Tok
11/18/2020, 1:21 AMjw
11/18/2020, 2:58 AMdependencies
task and ensure the version of Kotlin that's being used in the test runtime classpath?Cyril Find
11/20/2020, 6:13 PMGrpcMethod
's path
? (or am i doing something weird ? )kenkyee
11/27/2020, 11:30 PMPaul Woitaschek
11/30/2020, 10:12 AMCicero
12/03/2020, 12:06 AMsavrov
12/03/2020, 9:15 AMBrady Aiello
12/03/2020, 5:34 PMCREATE VIEW
statement, does it need to be declared as a method to be generated, and then invoked at runtime?
2. Is there any limitation to the number of `VIEW`'s or nested queries you can create?jw
12/04/2020, 11:02 PMCicero
12/04/2020, 11:26 PMallprojects {
repositories {
google()
mavenCentral()
jcenter()
maven(url = "<https://dl.bintray.com/ekito/koin>")
maven(url = "<https://kotlin.bintray.com/kotlin-js-wrappers/>")
maven(url = "<https://jitpack.io>")
}
}
Cicero
12/04/2020, 11:40 PMCicero
12/05/2020, 1:18 AMid("com.squareup.sqldelight") version "1.4.2"
simon.vergauwen
12/10/2020, 12:38 PMRETURNING
for the Postgress Dialect with SqlDelight but it doesn't seem to be working. It was added in 1.4.3
according to the release notes, https://github.com/cashapp/sqldelight/releases/tag/1.4.3. Any idea if this is possible or I am doing something wrong? The SqlDriver#execute
is fixed to Unit
so it seems it cannot return any value. I am using it in a simple query like this.
delete:
DELETE FROM players
WHERE id = ?
RETURNING *;
jw
12/12/2020, 8:42 PMjessewilson
12/15/2020, 5:22 AMdanieeh
12/15/2020, 10:26 AM.sq
file with its queries
- I’ve added a 1.sqm
file adding a new column
- this is the sqldelight configuration:
sqldelight {
database("EntertainmentDb") {
packageName = "[..].entertainment.db"
sourceFolders = listOf("sqldelight")
deriveSchemaFromMigrations = true
schemaOutputDirectory = file("src/main/sqldelight/db/")
migrationOutputDirectory = file("$buildDir/resources/main/migrations")
migrationOutputFileFormat = ".sql"
dialect = "postgresql"
}
}
but when executing the interface task I get all these errors.. thanks in advance!Paul Woitaschek
12/15/2020, 11:12 AMcom.squareup.okio:okio-multiplatform:2.10.0-20201202.152951-29
but now our ci starts failing because that snapshot got removed. I need to use the snapshot because I’m targeting watchosArm32 which is not present in 2.9 and I want reproducible buildsjw
12/15/2020, 4:06 PMmyanmarking
12/16/2020, 12:15 AMPaul Woitaschek
12/17/2020, 9:57 AMrusshwolf
12/20/2020, 9:22 PM<http://java.io|java.io>.File.exists()
that I’m missing? ditto for mkdirs()
since Filesystem.createDirectory(path)
doesn’t appear to create parent directories
2. Is there any plan to promote the use()
extensions on Sink and Source to public API?Nikky
12/21/2020, 10:50 AMjw
12/25/2020, 6:52 PMbasher
12/28/2020, 12:01 AMCREATE TABLE SchemaVersion (
id INT PRIMARY KEY NOT NULL,
version INT NOT NULL
);
setVersion:
INSERT INTO SchemaVersion(id, version) VALUES (0, ?)
ON CONFLICT (id) DO UPDATE SET version = excluded.version;
Instead, I get
line 8:0 - ',' or RETURNING expected, got 'ON'
7 INSERT INTO SchemaVersion(id, version) VALUES (0, 'test')
8 ON CONFLICT (id) DO UPDATE SET version = excluded.version
Lilly
01/12/2021, 8:52 PMjessewilson
01/22/2021, 11:25 AMjw
01/23/2021, 4:37 PMNicholas Doglio
02/07/2021, 10:49 PMContext
?
I have a LoginWorkflow
that can launch a Oauth flow that redirects to the browser and I’m not quite sure how to do that 🤔Nicholas Doglio
02/07/2021, 10:49 PMContext
?
I have a LoginWorkflow
that can launch a Oauth flow that redirects to the browser and I’m not quite sure how to do that 🤔Ray Ryan
02/08/2021, 4:47 AMNicholas Doglio
02/08/2021, 8:33 PMRay Ryan
02/08/2021, 8:36 PMNicholas Doglio
02/08/2021, 8:47 PMMonish Syed
07/15/2021, 11:40 AM