File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,7 @@ you spot any mistakes.
310310## v2.0.0-alpha9 (2013-08-27)
311311
312312* Add query to pool to execute queries directly using the pool
313+ * Add ` sqlState ` property to ` Error ` objects #556
313314* Pool option to set queue limit
314315* Pool sends 'connection' event when it opens a new connection
315316* Added stringifyObjects option to treat input as strings rather than objects (#501 )
Original file line number Diff line number Diff line change @@ -1168,6 +1168,7 @@ object. Additionally they typically come with two extra properties:
11681168* ` err.sql ` : String, contains the full SQL of the failed query. This can be
11691169 useful when using a higher level interface like an ORM that is generating
11701170 the queries.
1171+ * ` err.sqlState ` : String, contains the five-character SQLSTATE value. Only populated from [ MySQL server error] [ ] .
11711172* ` err.sqlMessage ` : String, contains the message string that provides a
11721173 textual description of the error. Only populated from [ MySQL server error] [ ] .
11731174
You can’t perform that action at this time.
0 commit comments