Skip to content

Add a function to get the size of a collection/table in bytes.#272

Merged
abnegate merged 39 commits intoutopia-php:mainfrom
faisalill:main
Aug 10, 2023
Merged

Add a function to get the size of a collection/table in bytes.#272
abnegate merged 39 commits intoutopia-php:mainfrom
faisalill:main

Conversation

@faisalill
Copy link
Copy Markdown
Contributor

What's Changed:

Added getCollectionSize method to MariaDB, MySQL, SQLite and MongoDB adapters.
The function for Postgres is working but it is giving an error during test so I just commented the code out.

Tests:

I have checked manually using the getCollectionSize method it worked.
I did add a test to check whether it returns a string.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants