Skip to content

Commit d6f1fb3

Browse files
authored
Update Multitenancy-Setup.md
1 parent e3cb69e commit d6f1fb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Cube.js-Backend/Multitenancy-Setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ cube(`Products`, {
104104
### User Context vs queryTransformer
105105

106106
[USER_CONTEXT](cube#context-variables-user-context) great for use cases where you want to get explicit control over filtering of underlying data seen by users.
107-
However for use cases where you want to re-use pre-aggregation tables for different users or even tenants [queryTransformer](@cubejs-backend-server-core#options-reference-query-transformer) is much better choice.
108-
Together with [contextToDataSourceId](@cubejs-backend-server-core#options-reference-context-to-data-source-id) it allows to define both row level security filtering as well as re-use same pre-aggregation set for each of tenants.
107+
However for use cases where you want to reuse pre-aggregation tables for different users or even tenants [queryTransformer](@cubejs-backend-server-core#options-reference-query-transformer) is much better choice.
108+
Together with [contextToDataSourceId](@cubejs-backend-server-core#options-reference-context-to-data-source-id) it allows to define both row level security filtering as well as reuse the same pre-aggregation set for each tenant.
109109

110110
## Same DB Instance with per Tenant Row Level Security
111111

0 commit comments

Comments
 (0)