From eb09b128eb96c467687061eaa1d51679db728ee9 Mon Sep 17 00:00:00 2001 From: Kevin Puertas Ruiz Date: Mon, 11 May 2020 17:26:16 +0000 Subject: [PATCH] Update README.md Version 1.6 --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b1d164b..590ab59 100644 --- a/README.md +++ b/README.md @@ -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