-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding head and count option on select(), insert(), update(), d…
…elete(), and rpc() (#147) * select method now accepts home and count option * removed head and count option from PostgrestTransformBuilder and added home and count option to select in PostgrestQueryBuilder * select now returns count value when count option is selected * Enabled head for select * Updated the test snapshots to include count field * Set default values for head and count Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev> * Added basic test cases for select with head and count parameters * Added count and head option to rpc, and added count option to insert, update, delete * Added count tests for insert, update, delete rpc * Added head and count test for rpc * Updated test so that count value for 'planned' and 'estimated' would match any number Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
- Loading branch information
1 parent
d56d69a
commit 8cf6e00
Showing
7 changed files
with
986 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
Oops, something went wrong.