Download lib/database/tempdb.js from frommmmmm/dreamers: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/frommmmmm/dreamers/resolve/main/lib/database/tempdb.js
- Command line
-
hf download hf://spaces/frommmmmm/dreamers/lib/database/tempdb.js
-
curl -L -o tempdb.js https://huggingface.co/spaces/frommmmmm/dreamers/resolve/main/lib/database/tempdb.js
381 Bytes
| const mongoose = require('mongoose'); | |
| const TempDb = new mongoose.Schema({ | |
| id: { type: String, unique: true ,required: true, default:"Suhail_Md"}, | |
| creator: { type: String, default: "Suhail" }, | |
| data: { type: Object, default: {} }, | |
| sdb: { type: Object, default: {} } | |
| }); | |
| const dbtemp = mongoose.model("dbtemp", TempDb) | |
| module.exports = { dbtemp } | |