catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.84k stars 1.15k forks source link

CONCAT? #256

Closed zlababa closed 6 years ago

zlababa commented 9 years ago

Hi, is possible use CONCAT, or if not, It could be possible to add?

for example SQL: SELECT column1, column2, CONCAT(column1, column2) as column3 FROM table...

something like: $data = $database->select("table", [ "column1", "column2", "#CONCAT[column1,column2] (column3)" ],[]);

Thanks for your great framework

Zlababa

isogram commented 9 years ago

use query http://medoo.in/api/query

coosir commented 9 years ago

see https://github.com/catfan/Medoo/pull/260

catfan commented 6 years ago

Check out the new feature raw object https://medoo.in/api/raw.