Commit 4a6010e
DOC: Add docs for read_sql to avoid sql injection (pandas-dev#56546)
* add docs for read_sql to avoid sql injection
* resolve formatting
* re-word the docs
* formatting
* refactor the example due to the length constraints
* remove reference directing users to use params
* changed to the general warning
* add the example for using params
---------
Co-authored-by: Hanxin Chen <hanxinchen@hanxins-mbp-m3.mynetworksettings.com>1 parent f720c3c commit 4a6010e
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
655 | 663 | | |
656 | 664 | | |
657 | 665 | | |
| |||
672 | 680 | | |
673 | 681 | | |
674 | 682 | | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
675 | 691 | | |
676 | 692 | | |
677 | 693 | | |
| |||
694 | 710 | | |
695 | 711 | | |
696 | 712 | | |
697 | | - | |
| 713 | + | |
698 | 714 | | |
699 | 715 | | |
700 | 716 | | |
| |||
0 commit comments