Basic User Register using MongoDB ?

Can some one please post basic user registration with MongoDB ?

I guess you only need model's part, not the controller / view code, as that's same as with any RDBMS.



30.7k
edited Jun '17

Hi,

use Phalcon\Mvc\Collection to define your models: https://docs.phalconphp.com/en/latest/reference/odm.html#creating-models