Skip to content

Delete map keys #12

@scommisso

Description

@scommisso

Either #update() needs to support deleting map keys (maybe triggered by null values?), or #remove() semantics need to be updated to support deleting map keys.

Since we already have validation that #update() cannot set map keys to null, I propose that null values in here will generate a DELETE <mapFieldName>["<mapNullPropName>"] FROM <entityName> WHERE <conditionals> statement.

Right now, to "delete" a map key, we are required to set it to some sort of empty value. This is fine for most maps, but causes problems with a map<text, JSON>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions