Skip to content

Add ability to specify extraTables explicitly for MySQLVehicle extract#34

Open
opengeek wants to merge 1 commit intomodxcms:masterfrom
opengeek:explicitExtraTables
Open

Add ability to specify extraTables explicitly for MySQLVehicle extract#34
opengeek wants to merge 1 commit intomodxcms:masterfrom
opengeek:explicitExtraTables

Conversation

@opengeek
Copy link
Copy Markdown
Member

@opengeek opengeek commented Jun 9, 2017

Example:

        {
            "vehicle_package": "",
            "vehicle_class": "\\Teleport\\Transport\\MySQLVehicle",
            "object": {
                "extraTables": [
                    "my_fancy_table_name_here",
                    "another_fancy_table_name_here"
                ],
                "excludeExtraTables": [

                ],
                "excludeExtraTablePrefix": [

                ]
            },
            "attributes": {
                "vehicle_package": "",
                "vehicle_class": "\\Teleport\\Transport\\MySQLVehicle"
            }
        }

Tables specified explicitly in extraTables will use the MODX table_prefix unless the tables are also listed in excludeExtraTablePrefix.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant