summaryrefslogtreecommitdiff
path: root/libs/picodb/lib
diff options
context:
space:
mode:
authorDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-01-15 15:54:11 +0100
committerDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-01-15 15:54:11 +0100
commitb6f34622b169652c57e7cabd8d11e28605f110c3 (patch)
tree39496fdf3c35177aaccb394bba8cd46d221b6426 /libs/picodb/lib
parent3317d87addb03688a08a7fb12200b4913125dba7 (diff)
Extending extended query for tasks with possible hooks
Diffstat (limited to 'libs/picodb/lib')
-rw-r--r--libs/picodb/lib/PicoDb/Table.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/picodb/lib/PicoDb/Table.php b/libs/picodb/lib/PicoDb/Table.php
index 404b5cbe..74b121f0 100644
--- a/libs/picodb/lib/PicoDb/Table.php
+++ b/libs/picodb/lib/PicoDb/Table.php
@@ -638,6 +638,18 @@ class Table
}
/**
+ * Add columns to the select
+ *
+ * @access public
+ * @return $this
+ */
+ public function addColumns()
+ {
+ $this->columns = array_merge($this->columns, func_get_args());
+ return $this;
+ }
+
+ /**
* Sum column
*
* @access public