Do I have to close dgraphClientStub after every tx?

I am using Dgraph Javascript client. My question is Do I have to close ClientStub by using dgraphClientStub.close() after every tx commit and again initialise the connection for later query and mutations? I am new to Dgraph. It seems inappropriate to close the connection every time. So What are the best practices for database connections?

Suggestion -

I think Dgraph’s community is getting bigger day by day. So IMO It would be nice If there are more categories apart from just Users, Misc, Blog and Announcement in order to keep posts sorted. A seperate catogory for Badger and all official Clients would be great.

Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.