How to free variables link to collections after using

I want to free variables link to collections after using, because same time once collection only reference by one variable. Free for feature reuse collection by other variables name. Somebody help this case? Thanks!

Thanks for read my topic, this link will help you: https://atmospherejs.com/dburles/mongo-collection-instances

Not sure what you mean, is it that you want to use a variable to access a collection?

instead of
Books.find()

you want
myVariable = “Books”
myVariable.find() ?

If so, you can do:

eval(myVariable).find()