Re: Indexed database API autoIncrement

On 10/23/2011 3:04 PM, Jonas Sicking wrote:
> Good catch! This definitely needs to be specified in the spec.
>
> I have a weak preference for using 1. This has a smaller risk of
> triggering edge cases in the client code since it's always truthy.
> I.e. if someone tries to detect the presence of an id, they won't fail
> due to the id being 0.
Looks like there was a [loose] consensus around one, but it's not 
specified as far as I can tell.  Should I file a bug or will it get 
magically fixed with this e-mail?

Cheers,

Shawn

Received on Monday, 14 November 2011 05:39:15 UTC