Ecki
unread,Feb 8, 2013, 4:59:42 AM2/8/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello there,
as I'm very new to Haskell, could someone kindly push me into the
correct direction of solving the following problem...?
I started with Yesod's scaffolding application. Serving HTML generated
from database content works fine, but is there an elegant way to create
plain text responses iterating over database tables? Simple plain text
using a Handler like
getTestR = return . RepPlain . toContent ...
works too, but I'd like to serve:
config/models:
File
path Text
Conf
key Text
val Text
file FileId
as plaintext as in the SQL query:
select path, key, val from file, conf order by path, key;
regards
Ecki