Skip to content

Rename id in collection to _id #292

@codeit-ninja

Description

@codeit-ninja

I think it a bit wierd that we cannot use the id field in a collection, it must be a string and cannot be a number.

The explaination as to why is in my opinion a bit wierd.
https://github.com/wovalle/fireorm/blob/master/docgen/Core_Concepts.md

In firestore the id is saved as _id, why not implement it like that? Not be able to use an number as id is pretty inconvenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions