[postmodern-devel] dao functionality

Marijn Haverbeke marijnh at gmail.com
Thu Jun 5 23:13:40 UTC 2008


Hi Roman,

The DAO class -> table definition system is (intentionally) very
limited. The way I use it is for providing the basic table definition,
which I then extend with "create index", "create constraint", etc
commands. If you are not going to use them, there's really no reason
to define DAO classes.

Regards,
Marijn



On Fri, Jun 6, 2008 at 12:39 AM, Roman Budzianowski
<superdog at budzianowski.net> wrote:
> Hi everybody,
>
> I have decided to use the postmodern library to basically dump and then keep
> updating a large in memory object database into Postgres.
> I am coming from the lisp side (my knowledge of rdb is limited).
>
> I am wondering if the dao metaclass would allow me to define a table like
> the 'enemy' example. In particular is it possible to specify :foreign-key?
>
> I don't intend to keep my objects in memory using dao class. I just want to
> use it to create tables and then to do inserts and updates.
>
> Should I use S-SQL and sql-compile instead?
>
> Thanks,
>
> Roman
>
>
> _______________________________________________
> 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