Módulo: Mongo::Operação privada

Definido em:
build/ruby-driver-v2.19/lib/mongo/operation.rb,
build/ruby-driver-v2.19/lib/mongo/operation/drop.rb,
build/ruby-driver-v2.19/lib/mongo/operation/find.rb,
build/ruby-driver-v2.19/lib/mongo/operation/count.rb,
build/ruby-driver-v2.19/lib/mongo/operation/create.rb,
build/ruby-driver-v2.19/lib/mongo/operation/delete.rb,
build/ruby-driver-v2.19/lib/mongo/operation/insert.rb,
build/ruby-driver-v2.19/lib/mongo/operation/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/update.rb,
build/ruby-driver-v2.19/lib/mongo/operation/command.rb,
build/ruby-driver-v2.19/lib/mongo/operation/context.rb,
build/ruby-driver-v2.19/lib/mongo/operation/explain.rb,
build/ruby-driver-v2.19/lib/mongo/operation/indexes.rb,
build/ruby-driver-v2.19/lib/mongo/operation/distinct.rb,
build/ruby-driver-v2.19/lib/mongo/operation/get_more.rb,
build/ruby-driver-v2.19/lib/mongo/operation/aggregate.rb,
build/ruby-driver-v2.19/lib/mongo/operation/drop_index.rb,
build/ruby-driver-v2.19/lib/mongo/operation/map_reduce.rb,
build/ruby-driver-v2.19/lib/mongo/operation/users_info.rb,
build/ruby-driver-v2.19/lib/mongo/operation/create_user.rb,
build/ruby-driver-v2.19/lib/mongo/operation/drop/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/find/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/find/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/op_msg_base.rb,
build/ruby-driver-v2.19/lib/mongo/operation/remove_user.rb,
build/ruby-driver-v2.19/lib/mongo/operation/update_user.rb,
build/ruby-driver-v2.19/lib/mongo/operation/count/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/create_index.rb,
build/ruby-driver-v2.19/lib/mongo/operation/kill_cursors.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/write.rb,
build/ruby-driver-v2.19/lib/mongo/operation/create/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/delete/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/delete/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/drop_database.rb,
build/ruby-driver-v2.19/lib/mongo/operation/insert/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/insert/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/parallel_scan.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/idable.rb,
build/ruby-driver-v2.19/lib/mongo/operation/update/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/update/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/write_command.rb,
build/ruby-driver-v2.19/lib/mongo/operation/command/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/explain/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/explain/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/indexes/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/indexes/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/limited.rb,
build/ruby-driver-v2.19/lib/mongo/operation/distinct/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/get_more/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/get_more/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/aggregate/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/aggregate/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/collections_info.rb,
build/ruby-driver-v2.19/lib/mongo/operation/list_collections.rb,
build/ruby-driver-v2.19/lib/mongo/operation/drop_index/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/map_reduce/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/map_reduce/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/executable.rb,
build/ruby-driver-v2.19/lib/mongo/operation/users_info/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/users_info/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/create_user/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/delete/bulk_result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/find/builder/marcas.rb,
build/ruby-driver-v2.19/lib/mongo/operation/insert/bulk_result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/remove_user/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/specavailable.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/validatable.rb,
build/ruby-driver-v2.19/lib/mongo/operation/update/bulk_result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/update_user/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/create_index/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/kill_cursors/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/drop_database/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/find/builder/command.rb,
build/ruby-driver-v2.19/lib/mongo/operation/parallel_scan/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/parallel_scan/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/write_command/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/find/builder/modifiers.rb,
build/ruby-driver-v2.19/lib/mongo/operation/collections_info/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/list_collections/op_msg.rb,
build/ruby-driver-v2.19/lib/mongo/operation/list_collections/result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/get_more/command_builder.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/op_msg_executable.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/response_handling.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/polymorphic_lookup.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/polymorphic_result.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/sessions_supported.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/object_id_generator.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/result/aggregatable.rb,
build/ruby-driver-v2.19/lib/mongo/operation/kill_cursors/command_builder.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/executable_no_validate.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/write_concern_supported.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/read_preference_supported.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/bypass_document_validation.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/causal_consistency_supported.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/executable_transaction_label.rb,
build/ruby-driver-v2.19/lib/mongo/operation/shared/result/use_legacy_error_parser.rb

Visão geral

Este módulo faz parte de uma API privada. Você deve evitar usar este módulo, se possível, pois ele pode ser removido ou alterado no futuro.

Este módulo encapsula todas as classes de operação definidas pelo condutor.

As classes de operação usam opções Ruby como parâmetros de construtor. Por exemplo, :read contém read preference e :read_concern contém read concern, enquanto os comandos do servidor usam o campo readConcern para a read concern e read preference é passada como $readPreference ou secondaryOk bit de sinalização de protocolo de fio.

Definido sob namespace

Módulos: BypassDocumentValidation, CausalConsistencySupported, Executable, ExecutableNoValidate, ExecutableTransactionLabel, Idable, Limited, OpMsgExecutable, PolymorphicLookup, PolymorphicResult, ReadPreferenceSupported, ResponseHandling, SessionsSupported, Specifiable, Validatable, Write, WriteConcernSupported Classes: Aggregate, CollectionsInfo, Command, Context, Count, Create, CreateIndex, CreateUser, Excluir, Distinct, Soltar, DropDatabase, DropIndex, Explain, Localizar, GetMore, Índices, Inserir, KillCursors, ListCollections, MapReduce, ObjectIdGenerator, OpMsgBase, ParallelScan, RemoveUser, Resultado, Atualizar, UpdateUser, UsersInfo, WriteCommand

Colapsode resumo constante

Q =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A constante do campo q.

Desde:

  • 2.1.0

'q'.congelar
U =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A constante de campo u.

Desde:

  • 2.1.0

'u'.congelar
LIMIT =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A constante do campo limite.

Desde:

  • 2.1.0

'limit'.congelar
MULTI =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A constante de vários campo .

Desde:

  • 2.1.0

'multi'.congelar
INSERT =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A constante do campo upsert.

Desde:

  • 2.1.0

'upsert'.congelar
Agrupamento =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A constante do campo de agrupamento.

Desde:

  • 2.4.0

'agrupamento'.congelar
Array_filters =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A matriz filtra a constante do campo.

Desde:

  • 2.5.0

'arrayFilters'.congelar
Operation_time =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

A constante do campo optime.

Desde:

  • 2.5.0

'operationTime'.congelar
CLUSTER_TIME =

Essa constante faz parte de uma API privada. Você deve evitar usar essa constante, se possível, pois ela pode ser removida ou alterada no futuro.

Obsoleto.

A constante do campo de tempo do cluster.

Desde:

  • 2.5.0

'$clusterTime'.congelar