[postmodern-devel] deftable class-name and unique indices problems
Hi. Thanks for the library. I was struggling a bit with pomo's DAO support. A few points: I think it is worth reinforcing in the deftable documentation that a class-name NEEDS to be specified for the data-access methods to function. Can we have/is there a facility for creating unique multi-column indices in deftable? Some more examples for deftable would certainly not go amiss, particularly with repect to usage of :auto-id, :indices and :defer-id. Thanks Bill
Hey William, I retouched the deftable documentation a bit, hopefully making it clearer. There was no facility for directly cleating unique indices from deftable, but I have added a patch to the repository that makes this possible -- using "(:unique field-1 field-1)" instead of just "(field-1 field-2)" after the :indices keyword. If you have any specific suggestions for the docs, let me know, and I can incorporate them. Cheers, Marijn
participants (2)
-
Marijn Haverbeke
-
William Robinson