From 076823c17a4d68e1ceb92210c949f23d540be1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Ratay=20/=20=C5=A0imon=20Rataj?= Date: Tue, 11 Aug 2020 20:11:42 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4487807..8ec05d9 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ The italic ones are not recognized at all because they are defaults. //Use $smysql->selectJoin($table, $join, $on[, $order[, $cols[, $limit[, $flags]]]]) to execute a JOIN command - $result = $smysql->selectJoin("users", "messages", ['from_user' => 'uid'], "time", ["*"], 5, SMQ::ORDER_DESC)->fetch(SMQ::FETCH_ALL); + $result = $smysql->selectJoin("users", "messages", ['from_user' => 'uid'], "time", "*", 5, SMQ::ORDER_DESC)->fetch(SMQ::FETCH_ALL); //Use JOIN_LEFT, JOIN_RIGHT and JOIN_FULL flags to other types of JOIN //To combine JOIN and WHERE use $smysql->selectJoinWhere($table, $join, $on, $cond[, $order[, $cols[, $limit[, $flags]]]])