Skip to content

Version 4 branch should not use regex #45

Description

@mattbucci

Investigate the same approach as the WordPress SQLite implemention
https://github.com/phpmyadmin/sql-parser

https://wordpress.org/plugins/sqlite-database-integration/

Simplified structure regardless can look something like:

WPDB ->
monkey patched mySQL functions
-> parser / regex/ variable extraction
-> parsed MySQL representation (class or struct)
-> convert to Postgres representation
-> toSQL() method
-> execute against postgres database
<-- post process postgres output
<-- return data to WPDB

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions