-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
driver-adapters: support arrays in pg and neon (#4310)
Fixes most scalar list tests and some other tests that use scalar lists. Fixed tests: ``` < new::regressions::prisma_13097::prisma_13097::group_by_boolean_array < new::regressions::prisma_13097::prisma_13097::group_by_enum_array < queries::batch::select_one_compound::compound_batch::should_only_batch_if_possible_list < queries::filters::field_reference::bytes_filter::bytes_filter::inclusion_filter < queries::filters::field_reference::bytes_filter::bytes_filter::scalar_list_filters < queries::filters::list_filters::json_lists::equality < queries::filters::list_filters::json_lists::has < queries::filters::list_filters::json_lists::has_every < queries::filters::list_filters::json_lists::has_some < queries::filters::list_filters::json_lists::is_empty < writes::data_types::scalar_list::base::basic_types::behave_like_regular_val_for_create_and_update < writes::data_types::scalar_list::base::basic_types::create_mut_return_items_with_empty_lists < writes::data_types::scalar_list::base::basic_types::create_mut_work_with_list_vals < writes::data_types::scalar_list::base::basic_types::set_base < writes::data_types::scalar_list::base::basic_types::update_mut_push_empty_scalar_list < writes::data_types::scalar_list::decimal::decimal::behave_like_regular_val_for_create_and_update < writes::data_types::scalar_list::decimal::decimal::create_mut_return_items_with_empty_lists < writes::data_types::scalar_list::decimal::decimal::create_mut_work_with_list_vals < writes::data_types::scalar_list::decimal::decimal::update_mut_push_empty_scalar_list < writes::data_types::scalar_list::defaults::basic::basic_empty_write < writes::data_types::scalar_list::defaults::basic::basic_write < writes::data_types::scalar_list::defaults::decimal::basic_empty_write < writes::data_types::scalar_list::defaults::json::basic_empty_write < writes::data_types::scalar_list::defaults::json::basic_write < writes::data_types::scalar_list::json::json::behave_like_regular_val_for_create_and_update < writes::data_types::scalar_list::json::json::create_mut_return_items_with_empty_lists < writes::data_types::scalar_list::json::json::create_mut_work_with_list_vals < writes::data_types::scalar_list::json::json::update_mut_push_empty_scalar_list < writes::top_level_mutations::create_list::create_list::create_not_accept_null_in_set ``` Relevant tests that are not fixed by these changes yet and will need to be addressed in future PRs: ``` raw::sql::null_list::null_list::null_scalar_lists writes::data_types::scalar_list::defaults::decimal::basic_write ``` Fixes: prisma/team-orm#374
- Loading branch information
Showing
7 changed files
with
366 additions
and
24 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
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.