MongoDbCursorMethodsPropertiesArgs

data class MongoDbCursorMethodsPropertiesArgs(val limit: Output<Any>? = null, val project: Output<Any>? = null, val skip: Output<Any>? = null, val sort: Output<Any>? = null) : ConvertibleToJava<MongoDbCursorMethodsPropertiesArgs>

Cursor methods for Mongodb query

Constructors

Link copied to clipboard
constructor(limit: Output<Any>? = null, project: Output<Any>? = null, skip: Output<Any>? = null, sort: Output<Any>? = null)

Properties

Link copied to clipboard
val limit: Output<Any>? = null

Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer).

Link copied to clipboard
val project: Output<Any>? = null

Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string).

Link copied to clipboard
val skip: Output<Any>? = null

Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer).

Link copied to clipboard
val sort: Output<Any>? = null

Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).

Functions

Link copied to clipboard
open override fun toJava(): MongoDbCursorMethodsPropertiesArgs