node.js - How to Reserve or Protect a keyword in Mongoose Schema -


my question pretty straightforward. how protect keyword in mongoose user cannot save word database.

use case: have application user creates username. want prevent words being used username in mongoose schema cannot stored in database. possible in mongoose schema? if not, there workarounds?

thank in advance.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -