Because database abstraction is independent of the underlying database selected, the only difference in syntax for operations is for opening the database. That means that copying between databases is straightforward. Here’s an example of copying between a couple of different backends.
In this case, one of the backends is the Google Datastore which needs OAuth2 authentication. These slides show how to use cGoa to do service account OAuth2 with DbAbstraction.
For more snippets like this see Google Apps Scripts snippets

For help and more information join our forum, follow the blog or follow me on Twitter