We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db
The addition of an optional database param in the gridFS functions would be quite helpful for multi-db based applications.
I guess a simple addition of db :str=None on this line would be enough; with changes to this line from:
db :str=None
storage = GridFS(self.db, base)
to:
storage = GridFS(self.cx[db] if db else self.db, base)
Similar changes would be needed in the save_file function here
save_file
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The addition of an optional database param in the gridFS functions would be quite helpful for multi-db based applications.
I guess a simple addition of
db :str=None
on this line would be enough; with changes to this line from:to:
Similar changes would be needed in the
save_file
function hereThe text was updated successfully, but these errors were encountered: