Update README.md Version 1.6

This commit is contained in:
2020-05-11 17:26:16 +00:00
parent e33b7b1ac3
commit eb09b128eb

View File

@@ -1,4 +1,4 @@
# DBWrapper - Version 1.5.1
# DBWrapper - Version 1.6.0
This script is a simple wrapper for SQLite3, MySQL and PgSQL, for make possible to use different BD systems without changing the functions.
@@ -6,7 +6,7 @@ This script is a simple wrapper for SQLite3, MySQL and PgSQL, for make possible
In composer:
```bash
composer require jkanetwork/dbwrapper "~1.5.1"
composer require jkanetwork/dbwrapper "~1.6.0"
```
By hand: Download the php file inside src folder
@@ -33,8 +33,11 @@ By hand: Download the php file inside src folder
resource dbw_query (resource $conn, string $query);
//This does a (non interactive) multiquery. Its used for load from a file/script for example.
bool dbw_multi_query(resource $conn, string $multiquery);
//This do a query and fetch array, all in one function($typearray optional, see below)
//This do a query and fetch array (One restult), all in one function($typearray optional, see below)
resource dbw_query_fetch_array (resource $conn,string $query[, string $typearray]);
//Return query as array (All results), all in one function($typearray optional, see below)
resource dbw_query_fetch_all (resource $conn,string $query[, string $typearray]);
//dbw_fetch_all is too for queries)
```
* Using result of a query