DArray is the array Datum. Any Datum inserted into a DArray are treated as text during serialization.
| 3289 | // DArray is the array Datum. Any Datum inserted into a DArray are treated as |
| 3290 | // text during serialization. |
| 3291 | type DArray struct { |
| 3292 | ParamTyp *types.T |
| 3293 | Array Datums |
| 3294 | // HasNulls is set to true if any of the datums within the array are null. |
| 3295 | // This is used in the binary array serialization format. |
| 3296 | HasNulls bool |
| 3297 | // HasNonNulls is set to true if any of the datums within the are non-null. |
| 3298 | // This is used in expression serialization (FmtParsable). |
| 3299 | HasNonNulls bool |
| 3300 | |
| 3301 | // customOid, if non-0, is the oid of this array datum. |
| 3302 | customOid oid.Oid |
| 3303 | } |
| 3304 | |
| 3305 | // NewDArray returns a DArray containing elements of the specified type. |
| 3306 | func NewDArray(paramTyp *types.T) *DArray { |
nothing calls this directly
no outgoing calls
no test coverage detected