How to access Sqlite db in iOS using appium inorder to check whether a particular entry is present in database

Start application.
After application starts check whether the entry display in the textfield of login page is same as the entry in the databse.
PLease anyone help me to access the database using appium in iOS.
Thank you in advance pa.