MongoDBCursorMethodsProperties Class

Definition

Cursor methods for Mongodb query.

public class MongoDBCursorMethodsProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.MongoDBCursorMethodsProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.MongoDBCursorMethodsProperties>
public class MongoDBCursorMethodsProperties
type MongoDBCursorMethodsProperties = class
    interface IJsonModel<MongoDBCursorMethodsProperties>
    interface IPersistableModel<MongoDBCursorMethodsProperties>
type MongoDBCursorMethodsProperties = class
Public Class MongoDBCursorMethodsProperties
Implements IJsonModel(Of MongoDBCursorMethodsProperties), IPersistableModel(Of MongoDBCursorMethodsProperties)
Public Class MongoDBCursorMethodsProperties
Inheritance
MongoDBCursorMethodsProperties
Implements

Constructors

MongoDBCursorMethodsProperties()

Initializes a new instance of MongoDBCursorMethodsProperties.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Limit

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).

Project

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).

Skip

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).

Sort

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MongoDBCursorMethodsProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MongoDBCursorMethodsProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoDBCursorMethodsProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoDBCursorMethodsProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MongoDBCursorMethodsProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to