Feat add support of limit, offset, order #25
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: thereadme/hapi-sequelize-crud#25
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "add-filters"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allows passing these as query params to list and scope methods.
There are a few small unrelated fixes in here as well.
@mdibaiee if you get a chance, let me know what you think!
@joeybaker Thanks Joey! looks fine to me except for the comment I had 😁 👍
Just out of curiosity: why
void 0
?It's a (bad?) habit of mine from the bad old days of JS libs being of poor quality and accidentally (or intentionally!) overriding
undefined
with something else. Turns out, it's a micro-performance optimization to usevoid 0
and it is safer.I also find that writing
undefined
is usually an anti-pattern (usually, you wantnull
to express that the value is unset).Oh, you might be surprised to know that I didn't know it would return
undefined
, I mean I've never seenvoid
anywhere before 😁, is there a problem withnull
here?Well… sorta, it makes https://github.com/mdibaiee/hapi-sequelize-crud/pull/25/files#diff-e23df694a8f901b18511b648fe2416b9R202 harder if it's
null
. I can re-work this though.Merging!
Released as 2.7.0
@joeybaker Thanks! 👍