lua-resty-mongol icon indicating copy to clipboard operation
lua-resty-mongol copied to clipboard

how to create a collection if it does not exist!

Open samarism opened this issue 11 years ago • 0 comments

Hi, In MongoDB this command created a collection if it does not exist: db.collection.insert()

I see no way of creating a collection like this in mongol.

Am i missing something here?

Thanks for your help.

Samar

samarism avatar Nov 24 '14 10:11 samarism