FCModel
FCModel copied to clipboard
possible to use VIEWs as datasource
I'm using the FCModel in my new project, everything working well so far. I have a few VIEW in my sqlite database that I would like to access Model like the regular tables. Is this possible?
Honestly, I have no idea. I've never used views in SQLite and have no idea how they behave.
Actually this is trivial. In order to use view you have just to solve the problem of the primary key. I needed this feature so I implemented it, you can find it here: https://github.com/mirion/FCModel/tree/mirion_dev/views_file_support