Skip to content

A simple function to create limit-offset pairs for sql pagination

Notifications You must be signed in to change notification settings

tronicboy1/sql_paginatorr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About this Crate

This is a simple utility for SQL queries to calculate the offset and limit.

Disclaimer

The author takes no responsibility for any bugs that occur from the use of this crate.

License

MIT

Usage

let LimitOffsetPair { limit, offset } = sql_paginatorr::for_page(3, 10); // 40, 30

About

A simple function to create limit-offset pairs for sql pagination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages