FieldDsl
Creates an instance of FieldDsl.
In most situations, users shouldn't need to call this method, as an instance is often provided by operations:
users.find {
// the 'this' receiver already implements the [FieldDsl] interface.
}Content copied to clipboard
However, in some cases you may want to create fields outside operations. You can do so with:
with(FieldDsl(users.context)) {
User::profile / Profile::name
}Content copied to clipboard