Commit ecd238a
sqlite: return results with null prototype
These objects are dictionaries, and a query can return columns with
special names like `__proto__` (which would be ignored without this
change).
Also construct the object by passing vectors of properties for better
performance and improve error handling by using `MaybeLocal`.
PR-URL: nodejs#54350
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: James M Snell <[email protected]>1 parent 89ed690 commit ecd238a
1 file changed
Lines changed: 8 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
760 | | - | |
761 | 760 | | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
| 761 | + | |
| 762 | + | |
772 | 763 | | |
773 | 764 | | |
774 | 765 | | |
775 | | - | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
776 | 769 | | |
777 | 770 | | |
| 771 | + | |
778 | 772 | | |
779 | 773 | | |
780 | 774 | | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
| 775 | + | |
| 776 | + | |
786 | 777 | | |
787 | 778 | | |
788 | 779 | | |
| |||
0 commit comments