DArray is the array Datum. Any Datum inserted into a DArray are treated as text during serialization.
| 1607 | // DArray is the array Datum. Any Datum inserted into a DArray are treated as |
| 1608 | // text during serialization. |
| 1609 | type DArray struct { |
| 1610 | ParamTyp *types.T |
| 1611 | Array Datums |
| 1612 | // HasNulls is set to true if any of the datums within the array are null. |
| 1613 | // This is used in the binary array serialization format. |
| 1614 | HasNulls bool |
| 1615 | // HasNonNulls is set to true if any of the datums within the are non-null. |
| 1616 | // This is used in expression serialization (FmtParsable). |
| 1617 | HasNonNulls bool |
| 1618 | |
| 1619 | // customOid, if non-0, is the oid of this array datum. |
| 1620 | customOid oid.Oid |
| 1621 | } |
| 1622 | |
| 1623 | // NewDArray returns a DArray containing elements of the specified type. |
| 1624 | func NewDArray(paramTyp *types.T) *DArray { |
nothing calls this directly
no outgoing calls
no test coverage detected