christophlehmann / typo3-datahandler-cli
Use CLI commands to modify database records with the TYPO3 DataHandler. A lowlevel way for mass changes.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^12.4 || ^13.2
This package is auto-updated.
Last update: 2024-10-29 22:25:39 UTC
README
Use CLI commands to modify database records with the TYPO3 DataHandler. A lowlevel way for mass changes.
Pages with title Detail
should not be included in search
./bin/typo3 datahandler:patch \ --table pages \ --whereClause 'title="Detail"' \ --jsonPatch '{"no_search": 1}'
Page #2 should become an external link to typo3.org
./bin/typo3 datahandler:patch \
--table pages \
--records 2 \
--jsonPatch '{"doktype": 3, "url": "https://typo3.org"}'
Delete page #100 and #200
./bin/typo3 datahandler:delete \ --table pages \ --records 100,200
With --workspace
changes can be applied in a workspace.
Status
It's very alpha, so use with care.