[postmodern-devel] Re: Storing Lists
GP lisper
spambait at CloudDancer.com
Wed Sep 24 20:09:25 UTC 2008
On Tue, 23 Sep 2008 17:19:21 -0500, <mslamin at gmail.com> wrote:
> How do I insert a list into a single field of a single record in the
> database?
Besides the other mentioned solutions, declare a blob field and insert
it as a string. That way it is simple to read when using any SQL tool
to view the database.
> select tm,runs from mlb where tm="DET" order by key desc limit 1;
+-----+---------------------+
| tm | runs |
+-----+---------------------+
| DET | (0 0 0 0 0 0 0 0 0) |
+-----+---------------------+
later, read-from-string fixes you up.
--
One of the strokes of genius from McCarthy
was making lists the center of the language - kt
More information about the postmodern-devel
mailing list