We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbba7e8 commit c1e8c45Copy full SHA for c1e8c45
quickbase.php
@@ -50,6 +50,7 @@ class QuickBase {
50
'responseAsObject' => false
51
);
52
53
+ public $debug = false;
54
public $mch;
55
public $chs;
56
@@ -103,6 +104,10 @@ final public function api($action, $options = array()){
103
104
105
curl_multi_add_handle($this->mch, $this->chs[$i]);
106
107
+ if($this->debug){
108
+ var_dump('Executing QB Query', $query->getPayload());
109
+ }
110
+
111
$queries[] = $query;
112
}
113
@@ -315,6 +320,10 @@ final public function finalize(){
315
320
return $this;
316
321
317
322
323
+ final public function getPayload(){
324
+ return $this->payload;
325
326
318
327
final public function prepareCH(&$ch){
319
328
if(isset($this->ch) && !$ch){
329
$ch = $this->ch;
0 commit comments