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
+3-5
Original file line number
Diff line number
Diff line change
@@ -850,7 +850,8 @@ connection.query({
850
850
}
851
851
});
852
852
```
853
-
WARNING: YOU MUST INVOKE the parser before returning from a custom typeCast function.
853
+
__WARNING: YOU MUST INVOKE the parser using one of these three field functions in your custom typeCast callback. They can only be called once.( see #539 for discussion)__
You can find which field function you need to use by looking at: [RowDataPacket.prototype._typeCast](https://github.com/felixge/node-mysql/blob/master/lib/protocol/packets/RowDataPacket.js#L41)
866
-
866
+
__You can find which field function you need to use by looking at: [RowDataPacket.prototype._typeCast](https://github.com/felixge/node-mysql/blob/master/lib/protocol/packets/RowDataPacket.js#L41)__
867
867
868
-
If you need a buffer there's also a `.buffer()` function and also a `.geometry()` one
869
-
both used by the default type cast that you can use.
0 commit comments