a simple functions for Mongodb in dart (using the Mongodb Connector)