Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonking committed Feb 20, 2021
1 parent ea48d3c commit 85eac3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,9 @@ public DropCollectionStatement(final String collectionName, Document options) {
super(toCommand(RUN_COMMAND_NAME, collectionName, options));
}

@Override
public String getCommandName() {
return COMMAND_NAME;
}

@Override
public String getRunCommandName() {
return RUN_COMMAND_NAME;
}

public String getCollectionName() {
return command.getString(RUN_COMMAND_NAME);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/**
* Gets a list of collection names via the database runCommand method
* For a list of supported options see the reference page:
* https://docs.mongodb.com/manual/reference/command/listCollections/
* @see <a href="https://docs.mongodb.com/manual/reference/command/listCollections/">listCollections</a>
*/
@Getter
@EqualsAndHashCode(callSuper = true)
Expand Down

0 comments on commit 85eac3c

Please sign in to comment.