Skip to content

Create Fn - Throw Error If No Object Or Array Of Objects Passed As Payload #56

@jwdotjs

Description

@jwdotjs

In create(), if the payload is an empty array or an empty object, throw an error saying Unable to create new database records, expected array of objects or single object, but received ${empty object|empty array}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions