I am updating database tables during for a blackjack game.
To do this, I created a method that will dynamically create the SQL statement (#sql) with named parameters as well as a data array ($data) containing the values. It uses the built in run method i.e. $app->db()->run(string $sql, array $data).
I see the documentation refers to using this run method for fetch etc. and want to confirm it okay to update database tables for this project?
I am updating database tables during for a blackjack game.
To do this, I created a method that will dynamically create the SQL statement (#sql) with named parameters as well as a data array ($data) containing the values. It uses the built in run method i.e. $app->db()->run(string $sql, array $data).
I see the documentation refers to using this run method for fetch etc. and want to confirm it okay to update database tables for this project?