4 examples of '_ find' in JavaScript

Every line of '_ find' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
327find() {
328 switch (this.ormName) {
329 case "mongoose":
330 return this.entity.find();
331 case "sequelize":
332 return this.entity.findAll();
333 }
334}
90function find(options, callback) {
91 mongoose.connection.db.collection(options.collection, function(err, collection) {
92 collection.find(options.query).skip(options.offset).limit(options.limit).toArray(callback);
93 });
94}
9find (v) {
10 if (this.parents[v] === v) {
11 return v;
12 }
13 this.parents[v] = this.find(this.parents[v])
14 return this.parents[v]
15}
113function find(arr, callback) {
114 return arr[findIndex(arr, callback)];
115}

Related snippets