Skip to content

Update run returns Int instead of Long #2479

Description

@mwisnicki

Update#run returns an Int which is a problem when more than 2**32 rows were affected.

def run(a: A): ConnectionIO[Int] =

It should be Long (using executeLargeUpdate).
This would be a breaking change, so maybe we need runLarge method it would be good to get it before 1.0 (#1728).

Activity

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

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