DArray is the array Datum. Any Datum inserted into a DArray are treated as text during serialization.
| 4974 | // DArray is the array Datum. Any Datum inserted into a DArray are treated as |
| 4975 | // text during serialization. |
| 4976 | type DArray struct { |
| 4977 | ParamTyp *types.T |
| 4978 | Array Datums |
| 4979 | // HasNulls is set to true if any of the datums within the array are null. |
| 4980 | // This is used in the binary array serialization format. |
| 4981 | HasNulls bool |
| 4982 | // HasNonNulls is set to true if any of the datums within the are non-null. |
| 4983 | // This is used in expression serialization (FmtParsable). |
| 4984 | HasNonNulls bool |
| 4985 | |
| 4986 | // customOid, if non-0, is the oid of this array datum. |
| 4987 | customOid oid.Oid |
| 4988 | } |
| 4989 | |
| 4990 | // NewDArray returns a DArray containing elements of the specified type. |
| 4991 | func NewDArray(paramTyp *types.T) *DArray { |
nothing calls this directly
no outgoing calls
no test coverage detected