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
__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](https://github.com/mysqljs/mysql/issues/539) for discussion)__
1323
-
1324
-
```
1325
-
field.string()
1326
-
field.buffer()
1327
-
field.geometry()
1328
-
```
1329
-
are aliases for
1330
-
```
1331
-
parser.parseLengthCodedString()
1332
-
parser.parseLengthCodedBuffer()
1333
-
parser.parseGeometryValue()
1334
-
```
1335
-
__You can find which field function you need to use by looking at: [RowDataPacket.prototype._typeCast](https://github.com/mysqljs/mysql/blob/master/lib/protocol/packets/RowDataPacket.js#L41)__
1336
1355
1356
+
__WARNING: YOU MUST INVOKE the parser using one of these three field functions
1357
+
in your custom typeCast callback. They can only be called once.__
0 commit comments