Created
March 10, 2016 22:25
-
-
Save ctataryn/9f5401624a0c8e5c4c1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val query = | |
userDistributionQuery.leftJoin(ChunkTable.query.filter { c => c.state === ChunkState.ASSIGNED.toString } ) | |
.on { case ((u_id, d_id), c) => c.distributionId === d_id && c.transcriberId === u_id } | |
.map { case ((u_id, d_id), c) => c.id.? } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment