You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ MysqliDb -- Simple MySQLi wrapper and object mapper with prepared statements
19
19
**[Has method](#has-method)**
20
20
**[Helper Methods](#helper-methods)**
21
21
**[Transaction Helpers](#transaction-helpers)**
22
+
**[Error Helpers](#error-helpers)**
22
23
23
24
### Installation
24
25
To utilize this class, first import MysqliDb.php into your project, and require it.
@@ -621,6 +622,17 @@ if (!$db->insert ('myTable', $insertData)) {
621
622
}
622
623
```
623
624
625
+
### Error helpers
626
+
After you executed a query you have options to check if there was an error. You can get the MySQL error string or the error code for the last executed query.
0 commit comments