I am using sqflite local db. i want to sync the data with the google drive. i have created a hidden app data folder in google drive and successfully uploaded data to that folder also able to retrieve the data. but i am trying to achieve incremental update to the file. i have unsynced data in db can i upload only unsynced data to the db in google drive rather than uploading the entire data as db.Any other suggestion how to update the data in google drive rather than replacing the data .Thanks in advance
Related
Now I am creating a real digital library website. The website is required to store uploaded file in a database and receive it from the database. I have found a way to store the uploaded files in Google Cloud. May I know is there another way better than this?
In my app I used firestore database. Its working fine on online. But Now I want to use local storage as sqlLite. When my device is offline, data will save on sqlLite database and when the device is back to online it push the data to firestore database.
I used Flutter to develop the app. Can anyone please help me with this?
Firebase works as an offline database as well. When there is no Internet connection, all data changes are kept offline and then pushed to the cloud once it is possible.
If you insist on using a different database offline, I would recommend using Hive, since it also allows storing data in a document format.
I need to save sounds which my rn app is using on a database. I'm not really familiar with databases, so I chose the most easiest variant as I'm thinking - firebase. So, is there a possibility to save an mp3 file on this db using react native? If not, what db supports this feature?
What you usually do in such cases is to store the actual file on a cloud storage service, such as AWS S3, while in your actual database you save the path to that file.
When you need to retrieve the file, you load the path from the database and with that information you can download the file from the storage.
If you want to remain in the firebase eecosystem, you should take a look at the cloud storage service for Firebase: https://firebase.google.com/docs/storage
You better store the files inside a storage like Google storage for firebase
or AWS simple storage or any other storage.
And store the url of the file inside your database.
I need carry out cloning application. Datastore can copy through
AppEngine console. How can copy Blobstore to another application?
Google does not provide a bulk option for download and upload the blobstore. Because of that you need to write your own code which do the procedure.
I can think about an upload endpoint in the destination application and an endpoint, in the source application, which cycle throgh the existing blob (you can know the existing blobs making a query on the datastore on the BlobInfo entity kind).
Remember that if you re-upload a blob in another application the BlobKey is not maintained, so you'll need to update your datastore entities too.
Because of the deprecation of the Blobstore, you can think about move to Cloud Storage in the source application first (changing the stored BlobKeys in a bucket/object Storage value) and then, after you have transferred the Datastore, you simply need to give access to the bucket to the destination application (only if you want keep the same file on two different applications)
I couldn't find articles match to my requirements.
Basically, what I want is that:
User uploads picture to the application from their local drive.
Application stores the picture uploaded to datastore.
Application retrieves images from datastore.
Any suggestions? Urgent.
That's exactly what is discussed in the documentation for the BlobStore API.
You can do this in much the same way as you would in any other framework or platform: Create an HTML form with a 'file' input and the mimetype set to 'multipart/form-data'. On the server side, extract the file data from the form field (using self.request.POST['fieldname'].value in webapp) and store the contents in a datastore model, in a db.BlobProperty field.