oyvindberg / typo

Typed Postgresql integration for Scala. Hopes to avoid typos
https://oyvindberg.github.io/typo/
MIT License
99 stars 9 forks source link

Add `Fields#compositeIdIn` and `Fields#compositeIdIs` #102

Closed oyvindberg closed 3 months ago

oyvindberg commented 3 months ago

Can now query things like this:

val query = emailaddressRepo
  .select
  .where(_.compositeIdIn(Array(emailaddress2.compositeId, emailaddress3.compositeId)))