Last active
June 24, 2019 13:13
-
-
Save priyankvex2/1e46089329965c675c60da76b968783f to your computer and use it in GitHub Desktop.
Pokemon DB
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
let db_driver = require('db_driver'); | |
function findById(pokemonId){ | |
return db_driver.Pokemon.find({id: pokemonId}); | |
} | |
module.exports ={ | |
findById: findById | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment