Replies: 2 comments
-
that's a pretty good idea @AcostaLm |
Beta Was this translation helpful? Give feedback.
0 replies
-
Along with Search, I am planning to add sorting functionality. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have an idea for a new method that I believe could be reusable. It's a search method that apply
like
operator over specified columns. I've already implemented this method in myPantry
file, but my proposal is to add it to theInteractsWithRecord
trait so that it can be reused in all pantries.Here's the code for the
resolveSearch
method:In the
Pantry
abstract class:But i know what this method is a copy of the
getAll
method, i think what is needed attempt an aproach to implement both method reusing the common part.Beta Was this translation helpful? Give feedback.
All reactions