Best practices to use CRUD SQL in QML