From 63109f512beca71303cb5367e7248110ad9ac0d2 Mon Sep 17 00:00:00 2001 From: WhizSid <44908250+whizsid@users.noreply.github.com> Date: Thu, 6 Jun 2019 11:46:26 +0530 Subject: [PATCH 1/2] Fixed syntax issue --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 93f89ec..6bde459 100644 --- a/README.md +++ b/README.md @@ -100,8 +100,8 @@ $selectQuery = $ab->query()->select( $ab->tbl_facility->fac_code ); -$selectQuery->join('inner',$ab->tbl_facility)->on($ab->tbl_customer->c_id,'=',$ab->tbl_facility->c_id); -$selectQuery->join('inner',$ab->tbl_another)->on($ab->tbl_customer->c_id,'=',$ab->tbl_another->c_id); +$selectQuery->join(AB_JOIN_INNER,$ab->tbl_facility)->on($ab->tbl_customer->c_id,'=',$ab->tbl_facility->c_id); +$selectQuery->join(AB_JOIN_INNER,$ab->tbl_another)->on($ab->tbl_customer->c_id,'=',$ab->tbl_another->c_id); $selectQuery->orderBy($ab->tbl_customer->c_id,'desc'); $selectQuery->groupBy($ab->tbl_another->ant_id); $selectQuery->where($ab->tbl_another->ant_id,'=',"A"); From 01d1d287d921e68095c77eafd4bca7560217e6fa Mon Sep 17 00:00:00 2001 From: WhizSid <44908250+whizsid@users.noreply.github.com> Date: Thu, 6 Jun 2019 20:30:22 +0530 Subject: [PATCH 2/2] Fixed grammar --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6bde459..004e5ae 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Packagist: Version](https://img.shields.io/packagist/v/whizsid/arraybase.svg)](https://github.com/whizsid/arraybase/tree/0.0.1) [![Packagist: Downloads](https://img.shields.io/packagist/dt/whizsid/arraybase.svg)](https://packagist.org/packages/whizsid/arraybase) -Runtime SQL like query lanaguage for manipulate php arrays. written in pure php and not using any sql engine. Note:- this is not an any king of query builder. +Runtime SQL like query lanaguage for manipulate php arrays. written in pure php and not using any sql engine. Note:- this is not an any kind of query builder. ## Installation