-
-
Save daslicht/cb855f53d86062570a96 to your computer and use it in GitHub Desktop.
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
{ strictMode: true, | |
selected: undefined, | |
shardval: undefined, | |
saveError: undefined, | |
validationError: undefined, | |
adhocPaths: undefined, | |
removing: undefined, | |
inserting: undefined, | |
version: undefined, | |
getters: {}, | |
_id: undefined, | |
populate: undefined, | |
populated: undefined, | |
wasPopulated: false, | |
scope: undefined, | |
activePaths: | |
{ paths: | |
{ content: 'modify', | |
headline: 'modify', | |
createdBy: 'modify', | |
createdAt: 'modify', | |
_id: 'default' }, | |
states: { default: [Object], init: {}, modify: [Object], require: {} }, | |
stateNames: [ 'require', 'modify', 'init', 'default' ], | |
map: [Function] }, | |
ownerDocument: undefined, | |
fullPath: undefined } | |
true | |
undefined | |
0 | |
{ _id: 521248d2b90dc6af47000001, | |
content: '<p>content</p>', | |
headline: 'headline', | |
createdBy: 'bob', | |
createdAt: Mon Aug 19 2013 02:00:00 GMT+0200 (CEST) } | |
{ save: | |
[ { [Function] isAsync: false }, | |
{ [Function: checkForExistingErrors] isAsync: false }, | |
{ [Function: validation] isAsync: false }, | |
{ [Function] isAsync: false } ] } | |
{ save: [] } | |
{ [Function] numAsyncPres: 0 } | |
{} | |
{ base: | |
{ connections: [ [Circular] ], | |
plugins: [], | |
models: { User: [Object], Blog: [Object] }, | |
modelSchemas: { User: [Object], Blog: [Object] }, | |
options: {} }, | |
collections: | |
{ users: | |
{ collection: [Object], | |
opts: [Object], | |
name: 'users', | |
conn: [Circular], | |
queue: [], | |
buffer: false }, | |
blogs: | |
{ collection: [Object], | |
opts: [Object], | |
name: 'blogs', | |
conn: [Circular], | |
queue: [], | |
buffer: false } }, | |
models: {}, | |
replica: false, | |
hosts: null, | |
host: 'localhost', | |
port: 27017, | |
user: undefined, | |
pass: undefined, | |
name: 'angular-blade', | |
options: | |
{ db: { read_preference: 'primary', forceServerObjectId: false, w: 1 }, | |
auth: {}, | |
server: { socketOptions: [Object], auto_reconnect: true }, | |
replset: { socketOptions: {} } }, | |
_readyState: 1, | |
_closeCalled: false, | |
_hasOpened: true, | |
_listening: true, | |
_events: { error: [Function], open: undefined }, | |
db: | |
{ domain: null, | |
_events: | |
{ close: [Function], | |
error: [Function], | |
timeout: [Function], | |
open: [Function] }, | |
_maxListeners: 10, | |
databaseName: 'angular-blade', | |
serverConfig: | |
{ domain: null, | |
_events: {}, | |
_maxListeners: 10, | |
_callBackStore: [Object], | |
_commandsStore: [Object], | |
auth: [Object], | |
_dbStore: [Object], | |
host: 'localhost', | |
port: 27017, | |
options: [Object], | |
internalMaster: true, | |
connected: true, | |
poolSize: 5, | |
disableDriverBSONSizeCheck: false, | |
_used: true, | |
replicasetInstance: null, | |
emitOpen: true, | |
ssl: false, | |
sslValidate: false, | |
sslCA: null, | |
sslCert: undefined, | |
sslKey: undefined, | |
sslPass: undefined, | |
name: 'localhost:27017', | |
_readPreference: null, | |
socketOptions: [Object], | |
logger: [Object], | |
eventHandlers: [Object], | |
_serverState: 'connected', | |
_state: [Object], | |
recordQueryStats: false, | |
db: [Circular], | |
dbInstances: [Object], | |
connectionPool: [Object], | |
isMasterDoc: [Object] }, | |
options: { read_preference: 'primary', forceServerObjectId: false, w: 1 }, | |
_applicationClosed: false, | |
slaveOk: false, | |
native_parser: undefined, | |
bsonLib: | |
{ Code: [Function: Code], | |
Symbol: [Function: Symbol], | |
BSON: [Object], | |
DBRef: [Function: DBRef], | |
Binary: [Object], | |
ObjectID: [Object], | |
Long: [Object], | |
Timestamp: [Object], | |
Double: [Function: Double], | |
MinKey: [Function: MinKey], | |
MaxKey: [Function: MaxKey], | |
promoteLongs: true }, | |
bson: { promoteLongs: true }, | |
bson_deserializer: | |
{ Code: [Function: Code], | |
Symbol: [Function: Symbol], | |
BSON: [Object], | |
DBRef: [Function: DBRef], | |
Binary: [Object], | |
ObjectID: [Object], | |
Long: [Object], | |
Timestamp: [Object], | |
Double: [Function: Double], | |
MinKey: [Function: MinKey], | |
MaxKey: [Function: MaxKey], | |
promoteLongs: true }, | |
bson_serializer: | |
{ Code: [Function: Code], | |
Symbol: [Function: Symbol], | |
BSON: [Object], | |
DBRef: [Function: DBRef], | |
Binary: [Object], | |
ObjectID: [Object], | |
Long: [Object], | |
Timestamp: [Object], | |
Double: [Function: Double], | |
MinKey: [Function: MinKey], | |
MaxKey: [Function: MaxKey], | |
promoteLongs: true }, | |
_state: 'connected', | |
pkFactory: | |
{ [Function: ObjectID] | |
index: 1, | |
createPk: [Function: createPk], | |
createFromTime: [Function: createFromTime], | |
createFromHexString: [Function: createFromHexString], | |
fromString: [Function], | |
toString: [Function] }, | |
forceServerObjectId: false, | |
safe: false, | |
notReplied: {}, | |
isInitializing: true, | |
openCalled: true, | |
commands: [], | |
logger: { error: [Function], log: [Function], debug: [Function] }, | |
tag: 1376929978708, | |
eventHandlers: | |
{ error: [], | |
parseError: [], | |
poolReady: [], | |
message: [], | |
close: [] }, | |
serializeFunctions: false, | |
raw: false, | |
recordQueryStats: false, | |
retryMiliSeconds: 1000, | |
numberOfRetries: 60, | |
readPreference: undefined } } | |
undefined | |
521248d2b90dc6af47000001 | |
521248d2b90dc6af47000001 | |
<p>content</p> | |
headline | |
bob | |
Mon Aug 19 2013 02:00:00 GMT+0200 (CEST) | |
{ paths: | |
{ createdAt: | |
{ path: 'createdAt', | |
instance: undefined, | |
validators: [Object], | |
setters: [], | |
getters: [], | |
options: [Object], | |
_index: null, | |
isRequired: true }, | |
createdBy: | |
{ enumValues: [], | |
regExp: null, | |
path: 'createdBy', | |
instance: 'String', | |
validators: [Object], | |
setters: [], | |
getters: [], | |
options: [Object], | |
_index: null, | |
isRequired: true }, | |
headline: | |
{ enumValues: [], | |
regExp: null, | |
path: 'headline', | |
instance: 'String', | |
validators: [Object], | |
setters: [], | |
getters: [], | |
options: [Object], | |
_index: null, | |
isRequired: true }, | |
content: | |
{ enumValues: [], | |
regExp: null, | |
path: 'content', | |
instance: 'String', | |
validators: [Object], | |
setters: [], | |
getters: [], | |
options: [Object], | |
_index: null, | |
isRequired: true }, | |
_id: | |
{ path: '_id', | |
instance: 'ObjectID', | |
validators: [], | |
setters: [Object], | |
getters: [], | |
options: [Object], | |
_index: null, | |
defaultValue: [Function: defaultId] }, | |
__v: | |
{ path: '__v', | |
instance: 'Number', | |
validators: [], | |
setters: [], | |
getters: [], | |
options: [Object], | |
_index: null } }, | |
subpaths: {}, | |
virtuals: { id: { path: 'id', getters: [Object], setters: [], options: {} } }, | |
nested: {}, | |
inherits: {}, | |
callQueue: [ [ 'pre', [Object] ] ], | |
_indexes: [], | |
methods: {}, | |
statics: {}, | |
tree: | |
{ createdAt: { required: true, type: [Function: Date] }, | |
createdBy: { required: true, type: [Function: String] }, | |
headline: { required: true, type: [Function: String] }, | |
content: { required: true, type: [Function: String] }, | |
_id: { auto: true, type: [Function: ObjectId] }, | |
id: { path: 'id', getters: [Object], setters: [], options: {} }, | |
__v: [Function: Number] }, | |
_requiredpaths: [ 'content', 'headline', 'createdBy', 'createdAt' ], | |
options: | |
{ id: true, | |
noVirtualId: false, | |
_id: true, | |
noId: false, | |
read: null, | |
shardKey: null, | |
autoIndex: true, | |
minimize: true, | |
versionKey: '__v', | |
capped: false, | |
bufferCommands: true, | |
strict: true }, | |
_events: {} } | |
{ collection: | |
{ db: | |
{ domain: null, | |
_events: [Object], | |
_maxListeners: 10, | |
databaseName: 'angular-blade', | |
serverConfig: [Object], | |
options: [Object], | |
_applicationClosed: false, | |
slaveOk: false, | |
native_parser: undefined, | |
bsonLib: [Object], | |
bson: [Object], | |
bson_deserializer: [Object], | |
bson_serializer: [Object], | |
_state: 'connected', | |
pkFactory: [Object], | |
forceServerObjectId: false, | |
safe: false, | |
notReplied: {}, | |
isInitializing: true, | |
openCalled: true, | |
commands: [], | |
logger: [Object], | |
tag: 1376929978708, | |
eventHandlers: [Object], | |
serializeFunctions: false, | |
raw: false, | |
recordQueryStats: false, | |
retryMiliSeconds: 1000, | |
numberOfRetries: 60, | |
readPreference: undefined }, | |
collectionName: 'blogs', | |
internalHint: null, | |
opts: {}, | |
slaveOk: false, | |
serializeFunctions: false, | |
raw: false, | |
readPreference: 'primary', | |
pkFactory: | |
{ [Function: ObjectID] | |
index: 1, | |
createPk: [Function: createPk], | |
createFromTime: [Function: createFromTime], | |
createFromHexString: [Function: createFromHexString], | |
fromString: [Function], | |
toString: [Function] } }, | |
opts: { bufferCommands: true, capped: false }, | |
name: 'blogs', | |
conn: | |
{ base: | |
{ connections: [Object], | |
plugins: [], | |
models: [Object], | |
modelSchemas: [Object], | |
options: {} }, | |
collections: { users: [Object], blogs: [Circular] }, | |
models: {}, | |
replica: false, | |
hosts: null, | |
host: 'localhost', | |
port: 27017, | |
user: undefined, | |
pass: undefined, | |
name: 'angular-blade', | |
options: { db: [Object], auth: {}, server: [Object], replset: [Object] }, | |
_readyState: 1, | |
_closeCalled: false, | |
_hasOpened: true, | |
_listening: true, | |
_events: { error: [Function], open: undefined }, | |
db: | |
{ domain: null, | |
_events: [Object], | |
_maxListeners: 10, | |
databaseName: 'angular-blade', | |
serverConfig: [Object], | |
options: [Object], | |
_applicationClosed: false, | |
slaveOk: false, | |
native_parser: undefined, | |
bsonLib: [Object], | |
bson: [Object], | |
bson_deserializer: [Object], | |
bson_serializer: [Object], | |
_state: 'connected', | |
pkFactory: [Object], | |
forceServerObjectId: false, | |
safe: false, | |
notReplied: {}, | |
isInitializing: true, | |
openCalled: true, | |
commands: [], | |
logger: [Object], | |
tag: 1376929978708, | |
eventHandlers: [Object], | |
serializeFunctions: false, | |
raw: false, | |
recordQueryStats: false, | |
retryMiliSeconds: 1000, | |
numberOfRetries: 60, | |
readPreference: undefined } }, | |
queue: [], | |
buffer: false } | |
[Function] | |
[Function] | |
[Function: increment] | |
[Function: _where] | |
[Function: remove] | |
[Function: model] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function: update] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function: isSelected] | |
[Function] | |
[Function] | |
[Function: reset] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function: populate] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] | |
[Function] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment