postgrest-js icon indicating copy to clipboard operation
postgrest-js copied to clipboard

refactor: separating responsibilities for better readability and performance gains

Open ftonato opened this issue 3 years ago • 0 comments

What kind of change does this PR introduce?

  • refactor: create PostgrestBuilder class

  • refactor: update PostgrestTransformBuilder and PostgrestQueryBuilder select method to use cleanColumns from helper file

  • feat: create PostgrestCount type

  • feat: create helper file with cleanColumns method

Additional context

These changes increase the readability of the code and we gain performance 🚀 📦 💰

ftonato avatar Jan 26 '21 20:01 ftonato