[Dbix-class] Multi-tennant application/data and dbix-class

Aaron Trevena aaron.trevena at gmail.com
Wed Jan 3 20:37:58 GMT 2018


Hi All,

I was wondering if anyone can share any success, tips and problems of
using dbix-class in a multi-tenant application.

I'm looking at using tenant id in the main tables, and thinking best
approach will be to add logic to a resultset base class or role to
hook in forcing queries to restrict by tenant id, but would really
like to hear what anybody who's done this stuff already did and what
worked or not and any gotchas,

Thanks,

A.

-- 
Aaron J Trevena, BSc Hons
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Consulting



More information about the DBIx-Class mailing list