How to define a base_filter based on model content? (Flask-AppBuilder)
I have a simple Department-Employee-Model. Each employee belongs to a single department. In addition, each employee can be also related (affiliated) to one or multiple departments. The respective model in flask-appbuilder looks as follows: