LiveWhale CMS

Welcome, Guest Login

Support Center

Our documentation is moving:

Please check for the most up-to-date LiveWhale CMS and LiveWhale Calendar documentation. The below legacy documentation will remain available as a reference until the documentation migration is complete.

Query Construction (1.4.4 and later)

Last Updated: Feb 24, 2014 02:53PM PST

Prior to LiveWhale 1.4.4, most all database queries were written out as long strings and executed by $_LW->query('Some SQL;'); This method will be maintained for backwards compatibility and complex queries, but you may also now use LiveWhale’s query constructor.

The constructor allows you to chain together primary SQL commands such as ->select->from->join->where amongst others to create queries.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found