| 1 | // Copyright (C) MongoDB, Inc. 2023-present. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 4 | // not use this file except in compliance with the License. You may obtain |
| 5 | // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | |
| 7 | package driverutilscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/ |
| 8 | |
| 9 | // Operation Names should be sourced from the command reference documentation: |
| 10 | // https://www.mongodb.com/docs/manual/reference/command/ |
| 11 | const ( |
| 12 | AbortTransactionOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/AbortTransactionOp. = "abortTransaction" // AbortTransactionOp is the name for aborting a transaction |
| 13 | AggregateOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/AggregateOp. = "aggregate" // AggregateOp is the name for aggregating |
| 14 | CommitTransactionOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/CommitTransactionOp. = "commitTransaction" // CommitTransactionOp is the name for committing a transaction |
| 15 | CountOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/CountOp. = "count" // CountOp is the name for counting |
| 16 | CreateOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/CreateOp. = "create" // CreateOp is the name for creating |
| 17 | CreateIndexesOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/CreateIndexesOp. = "createIndexes" // CreateIndexesOp is the name for creating indexes |
| 18 | DeleteOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/DeleteOp. = "delete" // DeleteOp is the name for deleting |
| 19 | DistinctOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/DistinctOp. = "distinct" // DistinctOp is the name for distinct |
| 20 | DropOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/DropOp. = "drop" // DropOp is the name for dropping |
| 21 | DropDatabaseOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/DropDatabaseOp. = "dropDatabase" // DropDatabaseOp is the name for dropping a database |
| 22 | DropIndexesOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/DropIndexesOp. = "dropIndexes" // DropIndexesOp is the name for dropping indexes |
| 23 | EndSessionsOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/EndSessionsOp. = "endSessions" // EndSessionsOp is the name for ending sessions |
| 24 | FindAndModifyOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/FindAndModifyOp. = "findAndModify" // FindAndModifyOp is the name for finding and modifying |
| 25 | FindOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/FindOp. = "find" // FindOp is the name for finding |
| 26 | InsertOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/InsertOp. = "insert" // InsertOp is the name for inserting |
| 27 | ListCollectionsOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/ListCollectionsOp. = "listCollections" // ListCollectionsOp is the name for listing collections |
| 28 | ListIndexesOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/ListIndexesOp. = "listIndexes" // ListIndexesOp is the name for listing indexes |
| 29 | ListDatabasesOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/ListDatabasesOp. = "listDatabases" // ListDatabasesOp is the name for listing databases |
| 30 | UpdateOpscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/internal/driverutil`/UpdateOp. = "update" // UpdateOp is the name for updating |
| 31 | ) |