Skip to content

doctrine dbal type inference #197

Open

Description

@staabm

Todo

  • Connection->fetchAssociative
  • Connection->fetchNumeric
  • Connection->fetchOne
  • Connection->fetchAllNumeric
  • Connection->fetchAllAssociative
  • Connection->fetchAllKeyValue
  • Connection->fetchAllAssociativeIndexed
  • Connection->fetchFirstColumn
  • Connection->iterateNumeric
  • Connection->iterateAssociative
  • Connection->iterateKeyValue
  • Connection->iterateAssociativeIndexed
  • Connection->iterateColumn
  • Connection->prepare
  • Connection->executeQuery
  • Connection->executeCacheQuery
  • Connection->executeStatement
  • Connection->executeUpdate (deprecated in doctrine)
  • Connection->query (deprecated in doctrine)
  • Connection->exec (deprecated in doctrine)

https://github.com/doctrine/dbal/blob/3.3.x/src/Connection.php

  • Statement->executequery
  • Statement->execute

https://github.com/doctrine/dbal/blob/3.3.x/src/Statement.php

  • Result->fetchNumeric

  • Result->fetchAssociative

  • Result->fetchOne

  • Result->fetchAllNumeric

  • Result->fetchAllAssociative

  • Result->fetchAllKeyValue

  • Result->fetchAllAssociativeIndexed

  • Result->fetchFirstColumn

  • Result->iterateNumeric

  • Result->iterateAssociative

  • Result->iterateKeyValue

  • Result->iterateAssociativeIndexed

  • Result->iterateColumn

  • Result->columnCount

  • Result->fetch (deprecated in doctrine)

  • Result->fetchAll (deprecated in doctrine)

https://github.com/doctrine/dbal/blob/3.3.x/src/Result.php

Remaining select-based api seems to be supported already

see https://github.com/staabm/phpstan-dba/blob/main/tests/data/doctrine-dbal.php for everything we understand right now

Activity

  1. changed the title [-]Todo: doctrine dbal type inference[/-] [+]doctrine dbal type inference[/+] on Jan 26, 2022
  2. added
    enhancement
    on Jan 30, 2022
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions