baitic / sails-oradb

Oracle Database adapter for Sails.js
MIT License
2 stars 5 forks source link

criteria search not working in populate method #6

Open ayanb1991 opened 8 years ago

ayanb1991 commented 8 years ago

User.find({}).populate('profiles',{}).exec

Search criteria or filter not working in populate method of waterline. I think it's not implemented yet in the adapter.

mbutsykin commented 8 years ago

Looks like yes :) It's safe to migrate to sails-oracle-db. For me populate works ok. There is an issue with an additional attribute LINE_NUMBER in response from db, but it's easy to resolve it with custom model serialize function