Content-Length: 254984 | pFad | https://github.com/php/php-src/issues/21322

7E PDO\SQLite: Add support for getting raw SQL query (same as SQLite3::getSQL) · Issue #21322 · php/php-src · GitHub
Skip to content

PDO\SQLite: Add support for getting raw SQL query (same as SQLite3::getSQL) #21322

@bohwaz

Description

@bohwaz

Description

SQLite3 class supports fetching the raw SQL query as a string from the statement:

SQLite3Stmt::getSQL(bool $expand = false)

Adding an attribute to fetch the same for PDO\SQLite would be nice, eg.:

PDOStatement::getAttribute(PDO\SQLite::ATTR_SQL_STATEMENT)
PDOStatement::getAttribute(PDO\SQLite::ATTR_SQL_EXPANDED_STATEMENT)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/php/php-src/issues/21322

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy