Closed
Description
Hi,
In my application I would like to query a Postgres database using postmodern and then perform some analysis with lisp-stat. postmodern
returns data as a list of rows, each of those a list. For example for a table FOO
with columns id
and bar
, a select statement might return:
select * from FOO;
id | bar
--------+--------
1 | blah
2 | adsf
3 | jkjlkj
...
And in lisp that looks like:
'((1 "blah")
(2 "asdf")
(3 "jklkj")
...
)
I would like to get the list that postmodern returns into a lisp-stat data frame. Is there a convenient way to do this? Could I just walk the list from postgres using loop
and then build up a dataframe row-by-row?
Metadata
Metadata
Assignees
Labels
No labels