summaryrefslogtreecommitdiff
path: root/libs/picodb/lib/PicoDb/Table.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/picodb/lib/PicoDb/Table.php')
-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