Skip to content

Convert core SQL queries to prepared statements and use icms::$db, the PdoInstance of the DB connection #1678

@skenow

Description

@skenow

The current main core DB object does not extend PDO directly, rather the DB connection does. To leverage all the methods of PDO, like prepared statements, we need to use icms::$db throughout the core (and modules) instead of icms::$xoopsDB, which can use PDO, but does not extend PDO or use prepared statements. The process for rewriting these needs to be clearly documented so other developers can leverage the same in their modules

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions