letgetAll=awaitg.sys.db.gen.getByIdGen({instance:"mysql_8",database:"inventory",collection:"customers",id:"NICK",headers:{"x-am-response-case":"capitalCase"},select:"first_name,last_name",deep:[{// string, string[], array of objects are supporteds_key:"customer_id",t_key:"owner_id",t_col:"products",select:"proName,proDescription,proPrice"}],primaryKey:"first_name"});
instance: "crm::acme" works on the database of the tenant acme of the multi-tenant instance crm.
With instance: "crm", the call works on the database of the tenant of the request: a custom API called with the x-am-tenant-username header passes it on to the APIs it calls. A request without a tenant works on the structure database.