how can we make sqlite database using a custom object that has different type of declared datatype init so that we don’t have to declare every single filed in the database class.
i am making an app that manages employee sqlite database so i had made an custom object (model class)that has declared every filed that i need to manage in different datatypes. so now want to know that how can we insert this whole custom object into database so that i don’t have to declare every field in database.
New contributor