From cd6629ad23ba9468002d063483e9c49b59e200aa Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 23 Jan 2009 08:07:37 +0000 Subject: Add support for parenthetical grouping to Database queries. Turns out that this is something they kind of want for Kohana :-) Upstream ticket for this change: http://dev.kohanaphp.com/ticket/1070 --- core/libraries/MY_ORM.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 core/libraries/MY_ORM.php (limited to 'core/libraries/MY_ORM.php') diff --git a/core/libraries/MY_ORM.php b/core/libraries/MY_ORM.php new file mode 100644 index 00000000..f0bca39b --- /dev/null +++ b/core/libraries/MY_ORM.php @@ -0,0 +1,30 @@ +db->open_paren(); + return $this; + } + + public function close_paren() { + $this->db->close_paren(); + return $this; + } +} -- cgit v1.2.3