mirror of
https://github.com/typicode/json-server.git
synced 2025-07-30 05:31:41 +08:00
Update comment
This commit is contained in:
0
bin/index.js
Normal file → Executable file
0
bin/index.js
Normal file → Executable file
@ -29,8 +29,8 @@ function createId(coll) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Returns document that are have unsatisfied relations
|
// Returns document ids that have unsatisfied relations
|
||||||
// Example: comment that references a post that doesn't exist
|
// Example: a comment that references a post that doesn't exist
|
||||||
function getRemovable(db) {
|
function getRemovable(db) {
|
||||||
var removable = []
|
var removable = []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user