Forum Discussion

elenal's avatar
elenal
Occasional Contributor
8 years ago

how to close mongodb connection

I have a script that fetches data from mongodb @Grab(group='com.gmongo', module='gmongo', version='1.5') import com.gmongo.GMongo import com.mongodb.MongoCredential import com.mongodb.* import com....