Super-tenant queries
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Super-tenant queries
With can-read access, a super-tenant user can query data for any one or a combination of tenants using the following basic ABL query mechanisms:
-
TENANT-WHEREoption of the record phrase — Adds tenancy criteria to the data in a query independent of the current effective tenancy. Given the specified multi-tenant tables and joins in a query, this option can be used to qualify the tenancy of each individual record buffer, including record instances from multiple tenants. If multiple specified tenants are in a tenant group, the associatedSKIP-GROUP-DUPLICATESoption skips all but the first tenant record in any group. -
REPOSITIONstatement andREPOSITION-TO-ROWID( )method on a query handle — Provides an option to reposition to a query row owned by a specified tenant.