-
Notifications
You must be signed in to change notification settings - Fork 191
continuos scope enrichment #57
Copy link
Copy link
Closed
Description
Hi Brian,
great lib. I'm just refactoring sequelize to use it :) One thing I would love to have is something like this:
var model = sql.define({ name: 'foo', columns: ['id', 'foo', 'bar'] })
var scope = model
scope = scope.select(model.id).select(model.foo)This way it would be possible to spread the scope building logic over several functions which - each on its own - enriches the scope.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels