find

@GenerateBridge
open fun find(query: String, vararg params: Any?): ReactivePanacheQuery<Entity>

Find entities using a query, with optional indexed parameters.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a query string

params

optional sequence of indexed parameters

See also


@GenerateBridge
open fun find(query: String, sort: Sort, vararg params: Any?): ReactivePanacheQuery<Entity>

Find entities using a query and the given sort options, with optional indexed parameters.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a query string

sort

the sort strategy to use

params

optional sequence of indexed parameters

See also


@GenerateBridge
open fun find(query: String, params: Map<String, Any?>): ReactivePanacheQuery<Entity>

Find entities using a query, with named parameters.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a query string

params

Map of named parameters

See also


@GenerateBridge
open fun find(query: String, sort: Sort, params: Map<String, Any?>): ReactivePanacheQuery<Entity>

Find entities using a query and the given sort options, with named parameters.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a query string

sort

the sort strategy to use

params

Map of indexed parameters

See also


@GenerateBridge
open fun find(query: String, params: Parameters): ReactivePanacheQuery<Entity>

Find entities using a query, with named parameters.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a query string

params

Parameters of named parameters

See also


@GenerateBridge
open fun find(query: String, sort: Sort, params: Parameters): ReactivePanacheQuery<Entity>

Find entities using a query and the given sort options, with named parameters.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a query string

sort

the sort strategy to use

params

Parameters of indexed parameters

See also


@GenerateBridge
open fun find(query: Bson): ReactivePanacheQuery<Entity>

Find entities using a BSON query.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a Bson query

See also


@GenerateBridge
open fun find(query: Bson, sort: Bson): ReactivePanacheQuery<Entity>

Find entities using a BSON query and a BSON sort.

Return

a new ReactivePanacheQuery instance for the given query

Parameters

query

a Bson query

sort

the Bson sort

See also