drewolson / scrivener

Pagination for the Elixir ecosystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider supporting tables without an id field

peck opened this issue · comments

commented

Thanks for the code.

Was attempting to use to paginate a logs table I have that I'm ordering by timestamp but otherwise don't keep an ID. Perhaps consider allowing a configurable count field?

Thanks

Sorry to have let this sit for so long. This is a good idea, I'll experiment with allowing the field to be configurable. If you're got more specific ideas, I'd love a PR.

Here is a PR for that: #6

Close thanks to #6.