Data access from a Plugin

Can you guys share a code snippet showing how to access the Data Layer in Indico from a plugin? Thanks

Import the models and use them like any other sqlalchemy model. There’s no difference in how you access the DB from a plugin vs how it’s done from the core.

1 Like