Re: Query Builder internals

Henri Bergius <henri.bergius-ZpG/[email protected]> Tue, 28 Feb 2006 12:45:55 +0200
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Feb 28, 2006, at 12:43, Jukka Zitting wrote:
>>> OK. Perhaps we could add a UNIQUE constraint in the table  
>>> definitions
>>> to enforce this. Otherwise we can easily end up with strange errors.
>>
>> Can we return DUPLICATE ERR easily then?
>
> Yes, once we have proper database error reporting...

This would be great also for doing Midgard 1.x -style enforcing of  
unique article names per topic, etc.

/Henri

Henri Bergius
Consultant Partner, Nemein
henri.bergius-ZpG/[email protected]

Midgard CMS
www.midgard-project.org



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEBCnlNkT8k497k9IRAkDsAKCMNERPN2s8siamF8ktXhLDPh8UdACeN+nK
LveeNyx1OA+k9sI8azB3HdA=
=jXQU
-----END PGP SIGNATURE-----