ScottPJones / Mongo.jl

Mongo bindings for the Julia programming language
Other
43 stars 21 forks source link

Creating index(es) using Mongo.jl #13

Closed bmharsha closed 8 years ago

bmharsha commented 8 years ago

Is there a way to create indexes on a particular column using Mongo.jl?

I was looking for an API that replicates this function db.collection.createIndex()

ghost commented 8 years ago

I don't think there is but it should be very easy to add, I would recommend looking at the source code for this module and seeing if it's indeed straightforward.

bmharsha commented 8 years ago

Thanks @ivirshup and @pzion , PR https://github.com/pzion/Mongo.jl/pull/14 fixes this issue