Skip to main content

SpacesOrderBy

Methods to use when ordering Space.

enum SpacesOrderBy {
NATURAL
ID_ASC
ID_DESC
TYPE_ASC
TYPE_DESC
ADDRESS_ASC
ADDRESS_DESC
TOPIC_ID_ASC
TOPIC_ID_DESC
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
}

Values​

SpacesOrderBy.NATURAL​

No explicit ordering; results return in the database's natural order. Avoid for paginated queries — use a deterministic order instead.

SpacesOrderBy.ID_ASC​

Order results by id ascending.

SpacesOrderBy.ID_DESC​

Order results by id descending.

SpacesOrderBy.TYPE_ASC​

Order results by type ascending.

SpacesOrderBy.TYPE_DESC​

Order results by type descending.

SpacesOrderBy.ADDRESS_ASC​

Order results by address ascending.

SpacesOrderBy.ADDRESS_DESC​

Order results by address descending.

SpacesOrderBy.TOPIC_ID_ASC​

Order results by topic id ascending.

SpacesOrderBy.TOPIC_ID_DESC​

Order results by topic id descending.

SpacesOrderBy.PRIMARY_KEY_ASC​

Order results by primary key ascending.

SpacesOrderBy.PRIMARY_KEY_DESC​

Order results by primary key descending.

Member Of​

spaces query ● spacesConnection query