Dgraph admin sdk

Experience Report for Feature Request

Hi,

Is it possible to use the dgraph as simple package instead of running it on server?
For example: If I just want to import the method from dgraph for inserting the document and then it will automatically create the data folder and insert the document. I don’t want to run all zero/alpha servers.

What you wanted to do

My motivation is coming from the bleve-search which is a simple library and I’m thinking if we can use Dgraph in serverless environment.

Thanks,
Shashank

Hey @shashank-sachan,

you can most definitely do something like import "github.com/dgraph-io/dgraph" but I’m not sure what that would achieve.

Could you explain to me what exactly you want to do?