Read more in Search.
The method returns a search results page with the number of results equal to Search.size, beginning with Search.from.
By default, the selection size is limited to 10 records. If you need to retrieve more items, use the Search.size method.
const searchResults = await System.signs.entitySigns.search() .where((f, g) => g.and ( f.__deletedAt.eq(null), f.__createdBy.eq(Context .data.user), )) .all();
The method allows you to get the number of results in the search (it ignores Search.from and Search.size).
const searchResults = await System.signs.entitySigns.search() .where((f, g) => g.and ( f.__deletedAt.eq(null), f. __createdBy.eq(Context.data.user), )) .count();
The method returns the first item among the search results.
const searchResults = await System.signs.entitySigns.search() .where((f, g) => g.and ( f.__deletedAt.eq(null), f. __createdBy.eq(Context.data.user), )) .first();
The method allows you to skip a specified number of search results.
The method is used to limit the number of returned search results.
The method is used to sort search results.
If the results need to be sorted by different parameters, you can call the method sequentially several times.
The method can be used to filter items of the collection.
Your review is successfully sent!
Feedback sent successfully
Signature search object
Read more in Search.
Type parameters
F: ApplicationFilterClosure<T>
Hierarchy
Methods
all
The method returns a search results page with the number of results equal to Search.size, beginning with Search.from.
By default, the selection size is limited to 10 records. If you need to retrieve more items, use the Search.size method.
const searchResults = await System.signs.entitySigns.search() .where((f, g) => g.and ( f.__deletedAt.eq(null), f.__createdBy.eq(Context .data.user), )) .all();Returns Promise<EntitySignItem[]>
count
The method allows you to get the number of results in the search (it ignores Search.from and Search.size).
const searchResults = await System.signs.entitySigns.search() .where((f, g) => g.and ( f.__deletedAt.eq(null), f. __createdBy.eq(Context.data.user), )) .count();Returns Promise<number>
first
The method returns the first item among the search results.
const searchResults = await System.signs.entitySigns.search() .where((f, g) => g.and ( f.__deletedAt.eq(null), f. __createdBy.eq(Context.data.user), )) .first();Returns Promise<EntitySignItem | undefined>
from
The method allows you to skip a specified number of search results.
Parameters
n: number
Returns this
size
The method is used to limit the number of returned search results.
Parameters
n: number
Returns this
sort
The method is used to sort search results.
If the results need to be sorted by different parameters, you can call the method sequentially several times.
Parameters
field: keyof EntitySign
Optional ascending: undefined | false | true
Returns this
where
The method can be used to filter items of the collection.
Parameters
fc: FilterClosure<EntitySign>
Returns this
The method can be used to filter items of the collection.
Parameters
eql: EqlQuery
Optional params: EqlParams
Returns this
Feedback sent successfully
Thank you for your input