Philippe Hébert
02/24/2022, 2:33 AMcp__
fields) where a given value of the connection point can be unique within a given x__client_id
but non-unique across multiple x__client_id
?
I'm asking because each of my tenants have primary keys which are autoincrement ints, and currently I am proceeding to go around this by casting the ints to string and prefixing them with the x__client_id
valueMoises Morales
02/24/2022, 4:34 AMPhilippe Hébert
02/24/2022, 4:45 PMcp__sometable
is unique, but that across multiple tenant said within-tenant-scope-unique value is no longer unique.
Example:
| x__client_id | cp__sometable |
|. acme | 1 |
|. acme | 2 |
|. acme | 3 |
|. zulu | 1 |
|. zulu | 2 |
|. zulu | 3 |
1 is unique within x__client_id
= acme, and zulu respectively, but not across both.
Same goes for the other values of cp__sometable
.
Is this something that is supported, or do I need to scope the values of cp__sometable
as follows:
| x__client_id | cp__sometable |
|. acme | acme.1 |
|. acme | acme.2 |
|. acme | acme.3 |
|. zulu | zulu.1 |
|. zulu | zulu.2 |
|. zulu | zulu.3 |
Michal Hauzírek
02/24/2022, 4:48 PMPhilippe Hébert
02/24/2022, 5:11 PM