Re: [gnome-db] gda_data_model_update_row syntax



On Fri, 2003-10-24 at 20:23, Laurent Sansonetti wrote:
> On Sun, 2003-10-19 at 07:18, Paisa Seeluangsawat wrote:
> > > For example I dislike when the wrong row will be updated in a
> > > homogeneous data model.
> > 
> > What's your definition of 'wrong' row?  Do you disagree with my
> > footnote [2] in the e-mail you replied to?  How?
> > 
> 
> (sorry for the late ;)
> 
> Yes, I would personally care if GDA updates the first row instead of the
> second in your footnote sample.
> 
> I think GDA shouldn't try to update a row which doesn't have at least
> one unique key.

yes, in those ambigous cases, it should just fail, not modify the
probably-wrong row. That would be a very bad thing, since the app would
think everything's ok, and thus make the data inconsistent.

cheers




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