Closed piyushmandovra closed 9 years ago
(sql-only (select :customers
(fields [(sqlfn concat :first_name :last_name) :full_name])))
=> "SELECT CONCAT(\"customers\".\"first_name\", \"customers\".\"last_name\") AS \"full_name\" FROM \"customers\""
thank you it's working
hello folks, is there any way to write sql concat function using korma?
like: (use :reload-all 'korma.core)
(select :customers (aggregate (concat :first_name :last_name) :full-name))