Hello
I'm new to both Phalcon and MongoDB.
I'd like to add indexes to a collection, let's say for the purpose of preventing duplicated email for instance.
In MongoDB I understand we can use ensureIndex, but where to use this in Phalcon?
Thanks in advance. Regards