Sqlite with Image base64

#1

My aim is to store captured photos or whatever image is selected from gallery in my database for offline management of images. I have created sqlite database but I do not understand how to store base64 image in db
to capture images, I am using Camera plugin
`addPhoto(sourceType)
{

const options: CameraOptions = {
  quality: 100,
  destinationType: this.camera.DestinationType.DATA_URL,
  encodingType: this.camera.EncodingType.JPEG,
  mediaType: this.camera.MediaType.PICTURE,
  correctOrientation: true,
  sourceType:sourceType

}

this.camera.getPicture(options).then((imageData) => {

 // If it's base64 (DATA_URL):
 let base64Image = 'data:image/jpeg;base64,' + imageData;
 console.log(base64Image);
}, (err) => {
 // Handle error
});

}`