PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 1.41
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v1.41
2.1.0 2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 All 42 releases
fluent-boards / vendor / wpfluent / framework / src / WPFluent / Database / Events / QueryExecuted.php

QueryExecuted.php in FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration 1.41, at vendor/wpfluent/framework/src/WPFluent/Database/Events/QueryExecuted.php

60 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentBoards\Framework\Database\Events;
4
5 class QueryExecuted
6 {
7 /**
8 * The SQL query that was executed.
9 *
10 * @var string
11 */
12 public $sql;
13
14 /**
15 * The array of query bindings.
16 *
17 * @var array
18 */
19 public $bindings;
20
21 /**
22 * The number of milliseconds it took to execute the query.
23 *
24 * @var float
25 */
26 public $time;
27
28 /**
29 * The database connection instance.
30 *
31 * @var \FluentBoards\Framework\Database\Query\WPDBConnection
32 */
33 public $connection;
34
35 /**
36 * The database connection name.
37 *
38 * @var string
39 */
40 public $connectionName;
41
42 /**
43 * Create a new event instance.
44 *
45 * @param string $sql
46 * @param array $bindings
47 * @param float|null $time
48 * @param \FluentBoards\Framework\Database\Query\WPDBConnection $connection
49 * @return void
50 */
51 public function __construct($sql, $bindings, $time, $connection)
52 {
53 $this->sql = $sql;
54 $this->time = $time;
55 $this->bindings = $bindings;
56 $this->connection = $connection;
57 $this->connectionName = $connection->getName();
58 }
59 }
60