Ostico / PhpOrient

PhpOrient - Official Php driver based on the binary protocol of OrientDB.
Other
68 stars 37 forks source link

default select returns only 20 rows #100

Open tolgaulas opened 6 years ago

tolgaulas commented 6 years ago

Hi, sorry if it's a dumb question. I've encountered a situation and may be somebody else did too:

Default select returns only 20 records. To obtain a full list had to put limit 10000000 . Is it PHPORient or OrientDB limitation? I could not find any documentation on that.

andreyvk commented 6 years ago

Hi, this is orient's default. Im not sure where to look for a particular documentation on this but please take a look in https://orientdb.com/docs/2.2.x/. You might find something.

For me personally, I've just learned to keep that in mind while coding. It doesnt really cause any problems once you get used to it, to be honest.

tolgaulas commented 6 years ago

Thanks. Google did not find anything though. I hope this makes a mark in the cloud...

jforcode commented 6 years ago

Hey, u can try limit -1. That gives u all the records.

On Sun, Apr 22, 2018, 10:20 PM Andrey notifications@github.com wrote:

Hi, this is orient's default. Im not sure where to look for a particular documentation on this but please take a look in https://orientdb.com/docs/2.2.x/. You might find something.

For me personally, I've just learned to keep that in mind while coding. It doesnt really cause any problems once you get used to it, to be honest.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ostico/PhpOrient/issues/100#issuecomment-383395463, or mute the thread https://github.com/notifications/unsubscribe-auth/AMt8DY-6Trn6g-u4y52a5TCRPhgJgGgqks5trLTNgaJpZM4Te7tJ .

tolgaulas commented 6 years ago

Oh, that's good. Thanks @jforcode.