quicksql icon indicating copy to clipboard operation
quicksql copied to clipboard

QuickSQL additional VIEW configuration to accommodate Tenant_ID

Open pallasinfotech opened this issue 1 year ago • 0 comments

To create quickly secure views for multi-tenant applications, allow a switch line

Example:

view Knowledge_articles_v Knowledge_articles /where tenant_id = SYS_CONTEXT('APEX$SESSION', 'APP_TENANT_ID');

after "/where" the user can add his portion of where statement that can be utilized in the creation of a secure view.

Use Case Multi-tenant applications require all tables to be accessed through secure views. Having where statement ready with the argument, will make the development of the script tremendously easier and accurate.

pallasinfotech avatar Nov 12 '24 02:11 pallasinfotech