Gammix / Easy-Database-Builder-easydb.inc-

This include makes your life easier with SQLITE, you don't require SQL knowledge and its super simple to use!
MIT License
3 stars 3 forks source link

[help] How can I loop through all rows in a file? #1

Open Crayder opened 9 years ago

Crayder commented 9 years ago

I'm making a map editor for some guy. Each administrator will have his own table. How can I loop through a table when someone connects and retrieve each of his objects...?

Also, will this be fast enough to load and save while, say 100, players are online? I don't want it to freeze the server while an admin is editing or connecting/disconnecting.

Gammix commented 9 years ago

You can use DB::CountTables to make a loop through all tables existing.

According to the latest version of this, this is ONE OF THE FASTEST database include in SAMP. I am going to post some benchmarks and examples (today).