I have a few queries that I cannot get to display correctly in plain text.
My query is: SELECT SUBSTR(pp_patch, 8) as " " from pp_version
It should return 2015.1.4.0, but it is returning: { =2015.1.4.0}
When I query it in the a sql tool, I get it correctly.
I have a template that looks like this, which does remove some extra [] brackets and takes away the table formatting.
#foreach ($row in $result)
$row
#end
How can I fix this?
Hi Philipp,
Thank you for your interest in PocketQuery! You should be able to achieve what you want using the template parameter plain. Check out the section "Template configuration parameters" in the PocketQuery documentation. I also prepared an example for you...
Query:
SELECT Code FROM Country WHERE Name = :Name
Template:
## @param plain:true <h3>First row:</h3> $result.get(0).Code <h3>All rows:</h3> #foreach($row in $result) $row.Code<br> #end
Let me know if this helps!
Regards, Felix (Scandio)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.