Module io.ebean.api
Package io.ebean

Interface Query.Property<T>

Type Parameters:
T - The property type.
Enclosing interface:
Query<T>

public static interface Query.Property<T>
Type safe query bean properties and expressions (marker interface).

Implemented by query bean properties and expressions based on those properties.

The base type determines which StdOperators can be used on the property.

  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> Query.Property<T>
    of(String expression)
    Return a property given the expression.
    Return the property in string expression form.
  • Method Details

    • of

      static <T> Query.Property<T> of(String expression)
      Return a property given the expression.
    • toString

      String toString()
      Return the property in string expression form.

      This is a path to a database column (like "name" or "billingAddress.city") or a function wrapping a path (like lower(name), concat(name, '-', billingAddress.city)

      Overrides:
      toString in class Object