natural-language-api-google/db/connect.js

10 lines
134 B
JavaScript
Raw Normal View History

2023-10-09 17:22:48 +00:00
const mongoose = require('mongoose');
const connectDB = (url) => {
return mongoose.connect(url);
};
module.exports = connectDB;