io.getquill.ast.Property
See theProperty companion object
final class Property(val ast: Ast, val name: String)(val renameable: Renameable, val visibility: Visibility) extends Ast
Properties generally represent column selection from a table or invocation of some kind of method from some other object. Typically, something like
`SELECT p.name FROM People p`
comes from something like
`Map(Entity("People"), Ident("p"), Property(Ident(p), "name"))`
Properties also have an Opinion about how the NamingStrategy
affects their name. For example something like Property.Opinionated(Ident(p), "s_name", Fixed)
will become p.s_name
even if the NamingStrategy
is UpperCase
(whereas Property(Ident(p), "s_name")
would become p.S_NAME
). When Property is constructed without Opinionated
being used, the default opinion ByStrategy
is used.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article