LiveWhale CMS

Welcome, Guest Login

Support Center

Our documentation is moving: docs.livewhale.com

Please check docs.livewhale.com 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.

Mixed Forms (enhanced SQL)

Last Updated: Nov 25, 2015 10:49AM PST

Perhaps you have a simple query, but you need to enhance it a little more than the simple format allows. Feel free to mix the long form when needed, as in utilizing the built-in escaping.

// a mixed example
// SELECT livewhale_news.title FROM livewhale_news WHERE livewhale_news.id = 1;

$_LW->dbo -> query('select', 'livewhale_news.title', 'livewhale_news')
-> where(array('livewhale_news.id' => '?'),1);
 
eb8f96c071020d8b0923da726d6cab65@livewhale.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete?b_id=4256