Sequelize pagination
<p>Using <code>sequelize</code> on my <code>nodejs</code> web app, I want to query posts using pagination (by date). Reading <a href="http://docs.sequelizejs.com/en/latest/docs/querying/#pagination-limiting" rel="noreferrer"><code>sequelize</code> docs</a>, they offer to use <code>offset</code> and <code>limit</code>.  </p>

<p>Since I want to display the posts from new to old, I need to consider the date they were created. For example, if I limit the first query to 10 page, and before executing the second query a new post was created, the next query with offset of 10 will result a duplicate post from the last query.</p>

<p>How should I implement the pagination so it will support new entries?</p>