Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Number of records after using the SQLQuery in SS3


Go to End


1238 Views

Avatar
SS_Learner

Community Member, 20 Posts

23 April 2013 at 1:29pm

Edited: 23/04/2013 1:29pm

Hi Friends

Is it possible in Silverstripe 3 with SQLQuery that i can get only few records?
i have a query in which "Where Isused=1" have 5 records shows me the result properly in slick grid as required.
And the other query is "Where Isused=0" which have more the 150 records,which don't execute my query and i don't get the result.
when i run my query in the phpmysql it gives me proper result but not when i run it with SQLQuery () in SS3..

Thanks for any kind of help provided..