-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from oudalab/yan-dev
#175 make the topic model interface fucntional and need coders to giv…
- Loading branch information
Showing
17 changed files
with
90,592 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var mongoose = require("mongoose"); | ||
|
||
module.exports = mongoose.model('documentswithtopic', { | ||
id: { | ||
type: String | ||
}, | ||
document: { | ||
type: String | ||
}, | ||
topic: { | ||
type: Number | ||
} | ||
/*this is a database first model, need to define the collection name this model mapped to here*/ | ||
},"documentswithtopic"); |
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
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
Binary file not shown.
Oops, something went wrong.