visionmedia/jade — Issue #408: Usage 
Author: alnoor
Created: 2011-11-20 01:06:13+00:00
State: open

i have an array within a postgresql table
the field is
mytestarray character varying (25) []
I insert test1, test2 , test3 into the field

now when we retrieve a result set that is includes the above, i cannot get at the data
as the array contains {test1, test2, test3} including the squiggly brackets this is all within a structure

i want to be able to get at test1 or test2 or test3 as individual elements.

if i change the database to string - test1,test2,test3
i am able to get at test1 using split in app.js but i want to do the same thing in a template.
how do i do that
the bigger question is how can i execute all the JS function when using jade to build a page
I am also searching for more comprehensive jade doc (does it exist)