Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@Retention(CLASS) @Target({FIELD})

public @interface OrderBy

Orders a loaded entity collection by target attributes.

Methods

public abstract String value()Orders loaded related entities by Java scalar attribute names.

Method details

value

public abstract String value()
Orders loaded related entities by Java scalar attribute names. Use comma-separated names, optionally followed by ASC or DESC. Cannot be combined with OrderColumn.

Returns

ordering expression