started mongo stuff, but it's a PITA. fuck mongo
This commit is contained in:
parent
4cd36ea3fc
commit
0f1bc5dff3
937 changed files with 205043 additions and 0 deletions
46
parts/3/phonebookBackend/node_modules/mongoose/lib/internal.js
generated
vendored
Normal file
46
parts/3/phonebookBackend/node_modules/mongoose/lib/internal.js
generated
vendored
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/*!
|
||||
* Dependencies
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const StateMachine = require('./stateMachine');
|
||||
const ActiveRoster = StateMachine.ctor('require', 'modify', 'init', 'default', 'ignore');
|
||||
|
||||
module.exports = exports = InternalCache;
|
||||
|
||||
function InternalCache() {
|
||||
this.activePaths = new ActiveRoster();
|
||||
}
|
||||
|
||||
InternalCache.prototype.strictMode = true;
|
||||
|
||||
InternalCache.prototype.fullPath = undefined;
|
||||
InternalCache.prototype.selected = undefined;
|
||||
InternalCache.prototype.shardval = undefined;
|
||||
InternalCache.prototype.saveError = undefined;
|
||||
InternalCache.prototype.validationError = undefined;
|
||||
InternalCache.prototype.adhocPaths = undefined;
|
||||
InternalCache.prototype.removing = undefined;
|
||||
InternalCache.prototype.inserting = undefined;
|
||||
InternalCache.prototype.saving = undefined;
|
||||
InternalCache.prototype.version = undefined;
|
||||
InternalCache.prototype._id = undefined;
|
||||
InternalCache.prototype.ownerDocument = undefined;
|
||||
InternalCache.prototype.populate = undefined; // what we want to populate in this doc
|
||||
InternalCache.prototype.populated = undefined;// the _ids that have been populated
|
||||
InternalCache.prototype.primitiveAtomics = undefined;
|
||||
|
||||
/**
|
||||
* If `false`, this document was not the result of population.
|
||||
* If `true`, this document is a populated doc underneath another doc
|
||||
* If an object, this document is a populated doc and the `value` property of the
|
||||
* object contains the original depopulated value.
|
||||
*/
|
||||
InternalCache.prototype.wasPopulated = false;
|
||||
|
||||
InternalCache.prototype.scope = undefined;
|
||||
|
||||
InternalCache.prototype.session = null;
|
||||
InternalCache.prototype.pathsToScopes = null;
|
||||
InternalCache.prototype.cachedRequired = null;
|
||||
Loading…
Add table
Add a link
Reference in a new issue