Ionic 4 SQLite PDF storage

Hi, I’m new to ionic and in my Ionic Application, I need to store a pdf and image file in SQLite i.e in the app storage. I will get the file from another database like MongoDB in the URL format.
Could anyone of you help me out of this and suggest any references to complete the app storage using SQLite.

Thanks in advance.