Last active
July 5, 2017 13:48
-
-
Save arnaudbesnier/76d1ca69f941f2d784ded12a25de9d1d to your computer and use it in GitHub Desktop.
Example of a Forest Smart Search on Express Sequelize
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
'use strict'; | |
var Liana = require('forest-express-sequelize'); | |
Liana.collection('Address', { | |
searchFields: ['id', 'user.email'] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment