Hi @photon,
Take a look at the database extension nodes, you can access their source code as described here:
best, Gabriel