Skip to content

Instantly share code, notes, and snippets.

@aashay
Created November 11, 2012 20:47
Show Gist options
  • Save aashay/9499f7b468c4c14f8986 to your computer and use it in GitHub Desktop.
Save aashay/9499f7b468c4c14f8986 to your computer and use it in GitHub Desktop.
/usr/local/lib/node_modules/geddy/node_modules/model/lib/query/query.js:141
datatype = descr.datatype;
^
TypeError: Cannot read property 'datatype' of undefined
at _createComparison (/usr/local/lib/node_modules/geddy/node_modules/model/lib/query/query.js:141:27)
at _createOperation (/usr/local/lib/node_modules/geddy/node_modules/model/lib/query/query.js:97:41)
at Query.initialize (/usr/local/lib/node_modules/geddy/node_modules/model/lib/query/query.js:232:40)
at Query (/usr/local/lib/node_modules/geddy/node_modules/model/lib/query/query.js:12:19)
at Function.utils.mixin.obj.all (/usr/local/lib/node_modules/geddy/node_modules/model/lib/index.js:348:15)
at utils.mixin.ModelItemConstructor.getAssociation (/usr/local/lib/node_modules/geddy/node_modules/model/lib/index.js:230:36)
at utils.mixin.ModelItemConstructor.forEach.createMethod [as getPoems] (/usr/local/lib/node_modules/geddy/node_modules/model/lib/index.js:276:44)
at Poems.indexMine (/Users/aashay/Dropbox/Projects/rollin-20s/app/controllers/poems.js:49:12)
at /usr/local/lib/node_modules/geddy/node_modules/model/lib/adapters/mongo/index.js:177:11
at exports.Cursor.self.next (/Users/aashay/Dropbox/Projects/rollin-20s/node_modules/mongodb-wrapper/lib/mongodb-wrapper.js:82:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment