-
Notifications
You must be signed in to change notification settings - Fork 55
Add a function to get the size of a collection/table in bytes. #272
New issue
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
2711213
fixed stuff
faisalill e645817
fixed indentation
faisalill 32166d1
indentation cleanup
faisalill de08dca
fixed indentation
faisalill aec995d
fixed indentation for all adapters
faisalill c7b797f
Merge branch 'utopia-php:main' into main
faisalill d66d2f8
fixed mysql test issue
faisalill 6afaf6f
getSizeOfCollection analyzes the table before getting the size
faisalill 540fe3c
added analyzeCollection function
faisalill a305282
Merge branch 'utopia-php:main' into main
faisalill a664c6b
called analyzeCollection from getSizeOfCollection
faisalill 7b0a74a
removed Return from comments
faisalill 7419c99
Merge branch 'utopia-php:main' into main
faisalill 2e60d71
remove analyzeCollection and changed query for mariadb and mysql
faisalill 416fa5f
cleaner code
faisalill b6c4a03
added camel case for index
faisalill 682ca9f
removed analyze for sqlite
faisalill 3dc00b3
cleaner code
faisalill ecda582
changed mariadb query
faisalill 4a6ce3f
changed query of getSizeOfCollection
faisalill faab827
fixed lint issues
faisalill 51ffb2c
fixed phpstan issue
faisalill 2761977
removed mytest from composer.json
faisalill 4c13af1
Merge branch 'utopia-php:main' into main
faisalill af69df4
removed mytest from composer.json
faisalill ac21574
Add explanation for asserting a constant with size difference
faisalill 7abfde5
Fix lint issue
faisalill 21550ff
Merge branch 'utopia-php:main' into main
faisalill d12f27b
Made changes as per review
faisalill 9e96dc0
Merge branch 'main' of https://github.com/faisalill/database
faisalill a0ec416
Apply suggestions from code review
abnegate ff872db
Make changes as per review
faisalill 06fe605
Add full text test
faisalill 1763e86
Change MongoDB return value
faisalill 1ebd9f2
Remove mytest script from composer.json
faisalill 8484dc8
Use better collection name
faisalill 5048976
Apply suggestions from code review
abnegate 87adb16
Merge branch 'main' into main
abnegate 3b65416
Fix lint
abnegate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.