2

I'm trying to select ALL of some table in a query. I have to specify a where clause (or so I tihnk), so what goes in there?

def all() = transaction { from(AppDB.users)(s => where(WHAT GOES HERE?) select(s)).toIndexedSeq }
LuxuryMode
  • 33,401
  • 34
  • 117
  • 188

1 Answers1

7

This should do it.

from(AppDB.users)(s => select(s))
Kyle
  • 21,978
  • 2
  • 60
  • 61