To generate a new project that uses MongoDB, run the command
createapp with the flag
More documentation here: https://github.com/typeorm/typeorm/blob/master/docs/mongodb.md.
The definition of entities and columns is the same as in relational databases, except that the ID type must be an
ObjectID and the column decorator must be
Example with JSON Web Tokens:
If you use sessions with
@UseSessions, you must use the
TypeORMStore does not work with noSQL databases.
When using MongoDB, there are some features that are not available:
foal g rest-api <name>command,
- and the Groups & Permissions system.