Skip to content

Cannot delete from tables with multiple primary keys #339

@nfplee

Description

@nfplee

I've recently upgraded to the latest version (from version 1.x) and whenever I try to pass an array into the deleteFrom method I receive the error:

Envms\FluentPDO\Query::deleteFrom(): Argument #2 ($primaryKey) must be of type ?int, array given, called in C:\Users\lee.timmins\Projects\koclothing\vendor\flixon\flixon\src\Flixon\Data\Query.php on line 130

This worked fine previously, I wonder if the primary key type should be a union to accept an 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