mathiasbn
07/14/2016, 9:18 AMSELECT * FROM some WHERE id in (SELECT id2 FROM other)
. Can't seem to find it...orangy
05/04/2017, 10:12 AMtapac
06/30/2017, 11:17 AMA.select {
exists(B.select { A.id eq B.id })
}
dmnk_89
08/07/2017, 11:23 AMEmployees.lastName.concat(Employees.firstName).like("SmithJohn")
jvtrigueros
08/10/2017, 2:33 AMSizedIterable
, if we take the test as an example the only way I've been able to do so is to do n1.connectedStrings.toMutableList().add(x)
. Am I going way off base here?aaronfox
08/14/2017, 6:44 PM<dependency>
<groupId>com.mysql</groupId>
<artifactId>jdbc</artifactId>
<version>5.1.43</version>
</dependency>
wouterdoeland
08/16/2017, 7:15 PMaaronfox
08/16/2017, 7:34 PMtapac
08/18/2017, 11:02 AMpascal_le_merrer
08/31/2017, 11:31 AMddsoyka
09/01/2017, 1:54 AMddsoyka
09/01/2017, 4:14 PMposts
property of the Thread
class contain only elements that I add to it, or is it a reference to the Posts
table and all of it's rows?tapac
09/21/2017, 12:14 PMvia
function. Sample use at https://github.com/JetBrains/Exposed/blob/master/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/ViaTest.ktziad
10/02/2017, 11:47 PMval userId = Users.select {
Users.deviceId eq requestDeviceId
}.map { it[Users.id] }.singleOrNull() ?: Users.insert {
it[deviceId] = requestDeviceId
} get Users.id
tapac
11/11/2017, 4:26 PMnekoinemo
11/11/2017, 8:22 PMoshai
12/05/2017, 9:52 AMjava.lang.IllegalStateException: can't find primary key of type Int or Long; map['com.outbrain.oen.services.oendblib.dao.ocas.OenCampaignStatusTable.ocas_id']='75191' (where map='{com.outbrain.oen.services.oendblib.dao.ocas.OenCampaignStatusTable.ocas_id=75191}')
tapac
12/12/2017, 12:12 PMtapac
12/22/2017, 9:16 AMoshai
12/22/2017, 10:32 AMtapac
12/24/2017, 6:57 PMdamian
12/27/2017, 4:02 PMtapac
12/27/2017, 10:00 PMdao.dependsOnTable.select {...}
with dao.searchQuery{...}
.
And ofc making query with order by and limit is much faster and effective than loading everything into memory, but don’t forget to add index to updated_at if you have large table.oshai
12/28/2017, 11:52 AMtapac
01/04/2018, 9:07 AMbthorp
01/05/2018, 11:47 PMnekoinemo
01/09/2018, 2:26 PMTable
is in? Or are tables always created in default scheme?nekoinemo
01/10/2018, 7:06 AMdamian
01/11/2018, 8:39 PMtimestamp without time zone
and I'm wondering how i should access this via exposed, would that be possible via datetime
or do i have to create a custom ColumnType
for this?tapac
01/14/2018, 9:01 PMtapac
01/14/2018, 9:01 PMwouterdoeland
01/14/2018, 9:45 PMtapac
01/14/2018, 10:25 PMwouterdoeland
01/15/2018, 2:06 PM