title: Return quoted data from SQL query result only if needed
body: <p>For example, I have simple SQL:</p>
  
  <pre><code>select product.name from products;
  </code></pre>
  
  <p>In my table I have 2 products: wheel, steering wheel.</p>
  
  <p>So my result is:</p>
  
  <pre><code>wheel
  steering wheel
  </code></pre>
  
  <p>How to get quoted result if the result has more than 1 word ?:</p>
  
  <pre><code>wheel
  "steering wheel"
  </code></pre>
  
  <p>I tried to use <code>quote_literal</code> function but the result is unfortunately always quoted.
  <code>quote_literal</code> works like I need only for constant strings like: <code>quoted_literal('steering wheel')</code> / <code>quoted_literal('wheel')</code></p>