How to send local db components to google sheets?

You will need to loop through the local DB rows and create/update a respective row in Google sheet.

See this example image