Database indexing


Since database schema is flexible,
is it needed for develops to add indexes for query performance?
Like mongoDB.


Hello @joappdev,

We manage all the necessary indices and optimize queries to ensure optimal performance on all our APIs. If you change the schema by adding new tables and use custom queries however, you’ll be responsible for maintaining your own indices if needed.

Mind that customizing the schema might conflict with future releases of Nakama, so we discourage this approach unless absolutely needed. If our current APIs don’t cover your needs, please let us know and we can consider a feature request.