{"library":"sails-hook-deep-orm","type":"library","category":null,"description":"This Sails.js hook extends the Sails ORM with polymorphic associations, deep population, and inclusive population criteria for Waterline. Version 1.0.2 adds dynamic attribute methods and soft deletes. Unlike standard Sails associations, it allows wildcard polymorphic populations (populate('*')), deep nested populations (populate('home.occupants.statuses.*')), and conditional deep filtering (& operator). It also provides wildcard data extraction via sails.hooks.deeporm.wild.get(). Development is intermittent, with no recent releases.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","sails","orm","polymorphic","soft deletes","dynamic attribute methods","deep populate","hook","association"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install sails-hook-deep-orm","imports":["module.exports = { attributes: { ... } }","await Model.find().populate('*')","sails.hooks.deeporm.wild.get(records, '*.home.occupants.*.phones.0.number')"]},{"cmd":"yarn add sails-hook-deep-orm","imports":[]},{"cmd":"pnpm add sails-hook-deep-orm","imports":[]}],"homepage":"https://github.com/emahuni/sails-hook-deep-orm#readme","github":"https://github.com/emahuni/sails-hook-deep-orm","docs":null,"changelog":null,"pypi":null,"npm":"sails-hook-deep-orm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}