Cross-Solution Data Access
Cross-Package Datasources and Action Execution
Overview
Cross-Package Datasources
Declaring cross-package entities
datasources:
tasks:
type: datasource.sqlite
options:
provider: DATA_PROVIDER_DYNAMIC
entities:
- entity: default/tasks # local entity
- entity: default/task-categories # local entity
- entity: default/project-tasks
package: projects # entity from another solution
- entity: default/project-categories
package: projects # entity from another solutionReferencing cross-package tables in SQL
Full example: UNION ALL across two solutions
The rewriteQuery Option
rewriteQuery OptionValue
Behaviour
Performance note
Cross-Package Action Execution
Error handling
Scenario
Result
Guard Functions and performOperations
performOperationsConsiderations
Examples and code snippets
Last updated
Was this helpful?