Skip to main content
edited tags
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

In a query I tried using limit(1)limit(1); I I got a WSOD, but when I use range(0,1)range(0,1) I dontdon't get any WSOD.
What

What is the basic difference between limit(1)limit(1) and range(0, 1) range(0, 1)?
 

In a query I tried using limit(1); I got a WSOD but when I use range(0,1) I dont get WSOD.
What is the basic difference between limit(1) and range(0, 1) ?
 

In a query I tried using limit(1); I got a WSOD, but when I use range(0,1) I don't get any WSOD.

What is the basic difference between limit(1) and range(0, 1)?

Tweeted twitter.com/#!/StackDrupal/status/374460698086342656
Source Link
harshal
  • 4.4k
  • 6
  • 41
  • 82

What is the difference between limit(1) and range(0, 1)?

In a query I tried using limit(1); I got a WSOD but when I use range(0,1) I dont get WSOD.
What is the basic difference between limit(1) and range(0, 1) ?