File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,15 @@ use Throwable;
1010
1111class Connection
1212{
13+ /**
14+ * Prepares an SQL statement.
15+ *
16+ * @param __doctrine-literal-string $sql The SQL statement to prepare.
17+ *
18+ * @throws Exception
19+ */
20+ public function prepare(string $sql): Statement;
21+
1322 /**
1423 * Executes an SQL statement with the given parameters and returns the number of affected rows.
1524 *
Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ use Throwable;
1414 */
1515class Connection
1616{
17+ /**
18+ * Prepares an SQL statement.
19+ *
20+ * @param __doctrine-literal-string $sql The SQL statement to prepare.
21+ *
22+ * @throws Exception
23+ */
24+ public function prepare(string $sql): Statement;
25+
1726 /**
1827 * Executes an SQL statement with the given parameters and returns the number of affected rows.
1928 *
You can’t perform that action at this time.
0 commit comments