Created
January 4, 2019 21:31
-
-
Save daffl/261305996185aca667fe3d0831cf390d to your computer and use it in GitHub Desktop.
Database adapters: Whitelisting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const service = require('feathers-<database>'); | |
// Allow multi create, patch and remove | |
service({ | |
whitelist: [ '$regex' ] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment