fix(mongodb): support shell delete commands
This commit is contained in:
1 parent
ff1a0f5eda
commit
0c4ae7caf6
7 files changed
+68
-5
No files matched your search
@@ -48,6 +48,7 @@ public final class AgentProtocol {
|
||||
public static final String MONGO_METHOD_UPDATE_DOCUMENT = "update_document";
|
||||
public static final String MONGO_METHOD_UPDATE_DOCUMENTS = "update_documents";
|
||||
public static final String MONGO_METHOD_DELETE_DOCUMENT = "delete_document";
|
||||
public static final String MONGO_METHOD_DELETE_DOCUMENTS = "delete_documents";
|
||||
|
||||
public static final String KV_METHOD_LIST_PREFIX = "kv_list_prefix";
|
||||
public static final String KV_METHOD_GET = "kv_get";
|
||||
@@ -123,7 +124,9 @@ public final class AgentProtocol {
|
||||
MONGO_METHOD_SERVER_VERSION,
|
||||
MONGO_METHOD_INSERT_DOCUMENT,
|
||||
MONGO_METHOD_UPDATE_DOCUMENT,
|
||||
MONGO_METHOD_DELETE_DOCUMENT
|
||||
MONGO_METHOD_UPDATE_DOCUMENTS,
|
||||
MONGO_METHOD_DELETE_DOCUMENT,
|
||||
MONGO_METHOD_DELETE_DOCUMENTS
|
||||
));
|
||||
|
||||
public static final List<String> KV_METHODS = Collections.unmodifiableList(Arrays.asList(
|
||||
|
||||
@@ -72,7 +72,9 @@
|
||||
"server_version",
|
||||
"insert_document",
|
||||
"update_document",
|
||||
"delete_document"
|
||||
"update_documents",
|
||||
"delete_document",
|
||||
"delete_documents"
|
||||
],
|
||||
"kvMethods": [
|
||||
"kv_list_prefix",
|
||||
|
||||
Reference in new issue
Block a user