Class AbstractCollectionStatement

    • Field Detail

      • collectionName

        protected final String collectionName
    • Constructor Detail

      • AbstractCollectionStatement

        public AbstractCollectionStatement()
    • Method Detail

      • toJs

        public String toJs()
        Provides a pseudo javascript representation of the collection related statement (for example that can be ran in the mongo shell. Exceptions examples are count which uses db.getCollectionNames however filters programmatically by name).
        Overrides:
        toJs in class AbstractMongoStatement
        Returns:
        javascript version of the full command