Allows to execute a single query which returns results.
Execute a sql query which gets data such as SELECT sentence. This function can be used as follow:
But also, as follow:
The behaviour of this function can also be tweaked using database access semantic [string]. This value allows to control how connections to database are handled.
|cmd_string ||printf posix format string sql command.|
- a dataset which contains the query data or NULL if something fails.