ontodev / sprocket

BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Add default limit option #27

Closed beckyjackson closed 2 years ago

beckyjackson commented 2 years ago

Resolves #8

I also noticed that some of the paths in the IEDB API were post-only paths and don't return a valid response on GET. I filtered these out from the list of tables.


Limits

sprocket will show 100 results per page by default when you first view a table. This can always be changed using the HTML form or the limit query parameter, but if you wish to change the default you can do so with -l/--limit. For example, to always show 20 results when viewing a table:

sprocket database.db -l 20
jamesaoverton commented 2 years ago

The POST only paths are for stored procedures. Yes we can omit them for now.