Skip to content

Instantly share code, notes, and snippets.

@izeigerman
Last active January 30, 2021 22:19
Show Gist options
  • Save izeigerman/5f91b5dd6eb615fdef3b3f86183d2525 to your computer and use it in GitHub Desktop.
Save izeigerman/5f91b5dd6eb615fdef3b3f86183d2525 to your computer and use it in GitHub Desktop.
object DeviceModel {
// DataSource definition.
// ...
implicit def deviceModelToMeasurementJoin[LJ <: JoinList, RJ <: JoinList] =
Join.usingColumns[DeviceMeasurement, LJ, DeviceModel, RJ](Seq("device_model_id"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment