poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
134 stars 44 forks source link

No need for me to worry about making async tasks? #10

Closed ghost closed 5 years ago

ghost commented 5 years ago

I see this library do all the asynchronous tasks.. does that mean I can just execute selects, inserts, updates on the spot?

SOF3 commented 5 years ago

Yes, but this doesn't change the fact they the API is async by nature, i.e. you can't return a value right away.