Build the where clause for a single shape. Exposed for tests.
where
tenantColumn === null
id = '<companyId>'
tenantColumn === string
<tenantColumn> = '<companyId>'
Throws if tenantColumn is undefined or companyId is not a UUID.
tenantColumn
undefined
companyId
Build the
whereclause for a single shape. Exposed for tests.tenantColumn === null→id = '<companyId>'(company-root case)tenantColumn === string→<tenantColumn> = '<companyId>'Throws if
tenantColumnisundefinedorcompanyIdis not a UUID.