Commit 2b77cfc
committed
Updated:
- onIndex config params now can accept 1 param without array, or multiple params in array
- Added toArray function which will check if value array -> return value, if not -> return [value]
- Updated mysql-common tests
> Added tests to check sql query include correct USE INDEX options for 1 and multiple indexes
- Updated type-tests1 parent 5d53945 commit 2b77cfc
File tree
4 files changed
+272
-119
lines changed- drizzle-orm
- src/mysql-core
- query-builders
- type-tests/mysql
- integration-tests/tests/mysql
4 files changed
+272
-119
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
659 | | - | |
660 | | - | |
| 658 | + | |
661 | 659 | | |
662 | 660 | | |
663 | 661 | | |
664 | 662 | | |
665 | 663 | | |
666 | 664 | | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
671 | 668 | | |
672 | 669 | | |
673 | 670 | | |
674 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
675 | 677 | | |
676 | 678 | | |
677 | 679 | | |
678 | 680 | | |
679 | 681 | | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
680 | 690 | | |
681 | 691 | | |
682 | | - | |
683 | | - | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
684 | 695 | | |
685 | 696 | | |
| 697 | + | |
686 | 698 | | |
687 | 699 | | |
688 | | - | |
689 | | - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
690 | 703 | | |
691 | 704 | | |
692 | 705 | | |
693 | | - | |
| 706 | + | |
694 | 707 | | |
695 | | - | |
696 | | - | |
697 | | - | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
698 | 711 | | |
699 | 712 | | |
700 | 713 | | |
| |||
710 | 723 | | |
711 | 724 | | |
712 | 725 | | |
713 | | - | |
| 726 | + | |
714 | 727 | | |
715 | 728 | | |
716 | 729 | | |
717 | | - | |
718 | | - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
719 | 778 | | |
720 | 779 | | |
721 | 780 | | |
| |||
732 | 791 | | |
733 | 792 | | |
734 | 793 | | |
735 | | - | |
| 794 | + | |
736 | 795 | | |
737 | 796 | | |
738 | 797 | | |
739 | 798 | | |
740 | 799 | | |
741 | 800 | | |
742 | | - | |
743 | | - | |
744 | | - | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
745 | 805 | | |
746 | 806 | | |
747 | 807 | | |
748 | 808 | | |
749 | 809 | | |
750 | | - | |
751 | | - | |
752 | | - | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
753 | 814 | | |
754 | 815 | | |
0 commit comments