sails.js - Waterline / sails-mongo Type _getPK error -
i'm working on table using waterline , change on field form string relation ship , when run error [error (e_unknown) encountered unexpected error] details: typeerror: cannot read property '_getpk' of undefined
before (item model):
attributes: { store: 'string' ....} changed (item model):
attributes: {store: {model: 'state'} ....} and under state model:
attributes: { items: {collection: 'item', via: 'store' }} thanks in advance guys
edit:
i've downgraded sails-mongo@beta , working. i'm not sure why happening.
Comments
Post a Comment