Skip to content

'auto_insert_id' in documentation should be 'insert_auto_id' #883

Description

@MMMMasterM

The documentation as well as a comment in the source files list 'auto_insert_id' as last insert method for the datastore, however checking the source revealed that it should be 'insert_auto_id'.
Also specifying an invalid method (e.g. 'auto_insert_id') does not report any error in the callback and doesn't throw which made finding the error harder than necessary.

Please fix the documentation and change the lib to report an error or throw when an invalid datastore insert/save method is specified.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions