Skip to content

Adding LIMIT to Query builder #291

Answered by ellmetha
miry asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! 👋

Defining query set limits is something that is supported by the framework with the #[] method. For example:

Post.all[...100] # Returns the first 100 Post records

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by miry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants