In my Laravel app I use a table in which there is a string column to store long numbers. How can I run a whereBetwean on the relevant Model?
I try this and it doesn't work, the result is not what it supposed to be;
Model:whereBetween('number', [$startNumber, $endNumber])->get();