forked fromnodejs/node
- Notifications
You must be signed in to change notification settings - Fork0
Commit91ecd7e
sqlite: return results with null prototype
These objects are dictionaries, and a query can return columns withspecial names like `__proto__` (which would be ignored without thischange).Also construct the object by passing vectors of properties for betterperformance and improve error handling by using `MaybeLocal`.PR-URL:nodejs#54350Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>Reviewed-By: James M Snell <jasnell@gmail.com>1 parent8f45730 commit91ecd7e
1 file changed
+8
-17
lines changedLines 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
Comments
(0)