In message <[EMAIL PROTECTED]>
Stefan de Konink <[EMAIL PROTECTED]> wrote:
> Currently I have implemented the parsing of the PUT request. Now there
> are some implied properties. Now I wonder should these values be
> 'defaulted' by the database or by the instance that adds them?
>
> So for example: a timestamp is not available as attribute, what should
> happen?
Well in the case of timestamp it's not a case of defaulting - you
must ignore anything the client sends and provide your own value.
Likewise for the user ID.
That has to be done by the application - it can't be done by the
database, at least not without using a trigger.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev