github.com/jackc/pgtype.HstoreArray.Elements (field)
22 uses
github.com/jackc/pgtype (current package)
hstore_array.go#L15: Elements []Hstore
hstore_array.go#L50: Elements: elements,
hstore_array.go#L63: Elements: value,
hstore_array.go#L94: Elements: make([]Hstore, elementsLength),
hstore_array.go#L111: dst.Elements = make([]Hstore, elementsLength)
hstore_array.go#L120: if elementCount != len(dst.Elements) {
hstore_array.go#L121: return fmt.Errorf("cannot convert %v to HstoreArray, expected %d dst.Elements, but got %d instead", src, len(dst.Elements), elementCount)
hstore_array.go#L154: if err := dst.Elements[index].Set(value.Interface()); err != nil {
hstore_array.go#L181: *v = make([]map[string]string, len(src.Elements))
hstore_array.go#L182: for i := range src.Elements {
hstore_array.go#L183: if err := src.Elements[i].AssignTo(&((*v)[i])); err != nil {
hstore_array.go#L211: if len(src.Elements) == 0 {
hstore_array.go#L222: if elementCount != len(src.Elements) {
hstore_array.go#L223: return fmt.Errorf("cannot assign %v, needed to assign %d elements, but only assigned %d", dst, len(src.Elements), elementCount)
hstore_array.go#L274: if err := src.Elements[index].AssignTo(addr.Interface()); err != nil {
hstore_array.go#L312: *dst = HstoreArray{Elements: elements, Dimensions: uta.Dimensions, Status: Present}
hstore_array.go#L355: *dst = HstoreArray{Elements: elements, Dimensions: arrayHeader.Dimensions, Status: Present}
hstore_array.go#L385: for i, elem := range src.Elements {
hstore_array.go#L434: for i := range src.Elements {
hstore_array.go#L435: if src.Elements[i].Status == Null {
hstore_array.go#L443: for i := range src.Elements {
hstore_array.go#L447: elemBuf, err := src.Elements[i].EncodeBinary(ci, buf)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |