Encode appends the encoded bytes of value to buf. If value is the SQL value NULL then append nothing and return (nil, nil). The caller of Encode is responsible for writing the correct NULL value or the length of the data written.
(value any, buf []byte)
| 360 | // (nil, nil). The caller of Encode is responsible for writing the correct NULL value or the length of the data |
| 361 | // written. |
| 362 | Encode(value any, buf []byte) (newBuf []byte, err error) |
| 363 | } |
| 364 | |
| 365 | // ScanPlan is a precompiled plan to scan into a type of destination. |
no outgoing calls