Easy way to manage your own MySQL Databases just with Swift.
1- Add "ParseQL.swift" (in "/SwiftSource/Xcode 7") to your Xcode project.
2- Write your own "PRIVATE_KEY" and "TOKEN" in "ParseQL.swift".
3- Write the same "PRIVATE_KEY" and "TOKEN" in "PHP/parseql/application/controllers/ParseQLController.php".
4- Edit "PHP/parseql/config/database.php" file with your database info (at the bottom on the file).
5- Upload "parseql" folder, to your hosting.
6- Edit BASE_URL in "ParseQL.swift" file, to point to "parseql" folder in your hosting.
And we get our first row, in our own database. Don't worry about create the table and the columns, if they don't exist, ParseQL will create them.
Here's the change.
We'll talk about "where key" later...
Use completions to manage the results. Maybe you want to wait the result of the tasks above. The completions return some useful data too.
It returns a message by now...
It returns affected rows as Array of Dictionaries
It returns affected rows amount
It returns an Array or Dictionaries
You can cancel any PQL object task you started