catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.83k stars 1.15k forks source link

unbuffered query #932

Closed targor closed 3 years ago

targor commented 3 years ago

Since i could not find anything in the documentation, i now try to open an issue...

My question is, how can i create a unbuffered query? because i want to load a large blob file from the database, but i always get memory allocation issues.

I there the possibility to do this or do i neet to use the raw functions?

catfan commented 3 years ago

You can try the (https://medoo.in/api/select) Traverse Fetch With Callback that v2.0 added.

Also, you need to check the memory setting for your PHP and Nginx.