Re: [Tracker] Write-back data & default/dummy data



On Tue, 2009-10-27 at 13:50 +0000, Martyn Russell wrote:
Rather it is the other way round. Say you search for all videos in
your 
application and you show or sort by title. If there is no title
(which 
can happen on a phone or small device where the user just takes the 
picture and never fills in a title) - the filename might be called 
"2009-10-27-$location-$number.jpeg", So should that be used as the
title 
in the video? Otherwise apps that need this value have to deal with
it 
not existing too. This makes queries potentially complex.

But in this case, COALESCE function proposed by Jurg should be enough,
shouldn't it?

What I really miss from ontologies is to know what properties are
compulsory and what are optional, and those that are compulsory, if they
can lack a value or not. This would help when using a client to know if
we must take in account empty values.

        J.A.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]