[#7131] Wrap the Table type in an implicit Scala class to allow for writing t.*
This commit is contained in:
parent
266d87f206
commit
34f10a99b8
@ -195,6 +195,14 @@ object Conversions {
|
||||
// Traits
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* A Scala-esque representation of {@link org.jooq.Table}, adding overloaded
|
||||
* operators for common jOOQ operations to arbitrary tables
|
||||
*/
|
||||
implicit class ScalaTable[R <: Record](val table : Table[R]) extends AnyVal {
|
||||
def * : QualifiedAsterisk = table.asterisk
|
||||
}
|
||||
|
||||
/**
|
||||
* A Scala-esque representation of {@link org.jooq.Field}, adding overloaded
|
||||
* operators for common jOOQ operations to arbitrary fields
|
||||
|
||||
Loading…
Reference in New Issue
Block a user