[postmodern-devel] Storing Lists

Marijn Haverbeke marijnh at gmail.com
Wed Sep 24 06:23:39 UTC 2008


Hi Mark,

Attila's idea works, or you could create a specific table mapping keys
to multiple elements (which stores sets, not lists), or you could try
Postgres' array types -- but that would require writing some extra
code, since Postmodern doesn't come with readers and writers for
those.

Cheers,
Marijn

2008/9/24 Mark Slamin <mslamin at gmail.com>:
> How do I insert a list into a single field of a single record in the
> database?
> Trying to insert (A B C) yields type errors if database type is set to text
> or varchar.
> Is there another data type I should use?  Does the list need to be modified
> somehow?
> I need to be able to store and retrieve a list as easily as possible.
> Thanks.
> Mark Slamin
> _______________________________________________
> postmodern-devel mailing list
> postmodern-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
>
>



More information about the postmodern-devel mailing list