MySQL Tips — Yao Li — Programming, Reading, Running, Thinking, Traveling, Living


1 Fetch posts/users by group for pagination or scrolling to load more, if order by column is constant value like created time or custom score, you can use skip and limit, but if the column value change dynamically like number of like or comment, then you can pass current total post/user ids and use where […]

via MySQL Tips — Yao Li — Programming, Reading, Running, Thinking, Traveling, Living

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s