title: PHP Lithium framework - How to use xSQL FUNC in model
body: <p>For example, in PHP Lithium framework, if we want to create a new user object and add it to db, we can use this - </p>
  
  <pre><code>$model = 'app\models\Users';
  $user = $model::create();
  $user-&gt;user_guid = uniqid ();
  
  $user-&gt;save ();
  </code></pre>
  
  <p>Now I want to use MySQL FUNC <code>UUID()</code> to replace uniqid() in PHP, the SQL is similar to this :</p>
  
  <pre><code>INSERT INTO users SET user_guid=UUID();
  </code></pre>
  
  <p>How to do this? Thanks.</p>