| @@ 593-605 (lines=13) @@ | ||
| 590 | return null; |
|
| 591 | } |
|
| 592 | ||
| 593 | public function sqlDatas($sql) |
|
| 594 | {
|
|
| 595 | $sql = $this->parseQuery(func_get_args()); |
|
| 596 | $res = $this->sqlDoWithoutParsing($sql); |
|
| 597 | $ret = []; |
|
| 598 | if ($res) {
|
|
| 599 | while ($arr = $this->fetchRow($res)) {
|
|
| 600 | $ret[] = $arr[0]; |
|
| 601 | } |
|
| 602 | } |
|
| 603 | ||
| 604 | return $ret; |
|
| 605 | } |
|
| 606 | ||
| 607 | public function sqlArray($sql) |
|
| 608 | {
|
|
| @@ 621-633 (lines=13) @@ | ||
| 618 | return null; |
|
| 619 | } |
|
| 620 | ||
| 621 | public function sqlArrays($sql) |
|
| 622 | {
|
|
| 623 | $sql = $this->parseQuery(func_get_args()); |
|
| 624 | $res = $this->sqlDoWithoutParsing($sql); |
|
| 625 | $ret = []; |
|
| 626 | if ($res) {
|
|
| 627 | while ($arr = $this->fetchRow($res)) {
|
|
| 628 | $ret[] = $arr; |
|
| 629 | } |
|
| 630 | } |
|
| 631 | ||
| 632 | return $ret; |
|
| 633 | } |
|
| 634 | ||
| 635 | public function sqlDict($sql) |
|
| 636 | {
|
|
| @@ 649-661 (lines=13) @@ | ||
| 646 | return null; |
|
| 647 | } |
|
| 648 | ||
| 649 | public function sqlDicts($sql) |
|
| 650 | {
|
|
| 651 | $sql = $this->parseQuery(func_get_args()); |
|
| 652 | $res = $this->sqlDoWithoutParsing($sql); |
|
| 653 | $ret = []; |
|
| 654 | if ($res) {
|
|
| 655 | while ($arr = $this->fetchAssoc($res)) {
|
|
| 656 | $ret[] = $arr; |
|
| 657 | } |
|
| 658 | } |
|
| 659 | ||
| 660 | return $ret; |
|
| 661 | } |
|
| 662 | ||
| 663 | public function sqlObject($sql) |
|
| 664 | {
|
|
| @@ 677-689 (lines=13) @@ | ||
| 674 | return null; |
|
| 675 | } |
|
| 676 | ||
| 677 | public function sqlObjects($sql) |
|
| 678 | {
|
|
| 679 | $sql = $this->parseQuery(func_get_args()); |
|
| 680 | $res = $this->sqlDoWithoutParsing($sql); |
|
| 681 | $ret = []; |
|
| 682 | if ($res) {
|
|
| 683 | while ($arr = $this->fetchObject($res)) {
|
|
| 684 | $ret[] = $arr; |
|
| 685 | } |
|
| 686 | } |
|
| 687 | ||
| 688 | return $ret; |
|
| 689 | } |
|
| 690 | ||
| 691 | public function sqlLine($sql) |
|
| 692 | {
|
|
| @@ 705-717 (lines=13) @@ | ||
| 702 | return null; |
|
| 703 | } |
|
| 704 | ||
| 705 | public function sqlLines($sql) |
|
| 706 | {
|
|
| 707 | $sql = $this->parseQuery(func_get_args()); |
|
| 708 | $res = $this->sqlDoWithoutParsing($sql); |
|
| 709 | $ret = []; |
|
| 710 | if ($res) {
|
|
| 711 | while ($arr = $this->fetchRow($res)) {
|
|
| 712 | $ret[] = $arr; |
|
| 713 | } |
|
| 714 | } |
|
| 715 | ||
| 716 | return $ret; |
|
| 717 | } |
|
| 718 | ||
| 719 | public function sqlDictsArgs() |
|
| 720 | {
|
|