firebase-rest-api icon indicating copy to clipboard operation
firebase-rest-api copied to clipboard

[Unshallow] : Unshallow method needed to switch betweeen shallow and unshallow database queries

Open folkien opened this issue 2 years ago • 1 comments

Is your proposal related to a problem?

After call to shallow() dictionary build_query is changed permamantly. Instead of changing internals of Database() object from outside it's better to have public method.

Describe the solution you'd like.

def unshallow() : 
if ('shallow' in self.build_query):
            del self.build_query['shallow']

Describe alternatives you've considered.

No response

Additional context.

No response

folkien avatar Dec 04 '23 14:12 folkien

Hello @folkien , thank you for submitting an issue! A project committer will shortly review the issue.

github-actions[bot] avatar Dec 04 '23 14:12 github-actions[bot]