DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
find items from array of ids mongoose
const
records
=
await
Model
.
find
(
)
.
where
(
'_id'
)
.
in
(
ids
)
.
exec
(
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#find
#items
#array
#ids
#mongoose
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit