add parameter haschild

This commit is contained in:
Adrian Zürcher
2025-05-13 21:16:30 +02:00
parent 640604c06d
commit 0446a160e1

View File

@@ -4,13 +4,14 @@ import "github.com/google/uuid"
// Get model
type Get struct {
Uuid uuid.UUID `json:"uuid"` // universally unique identifier
Path string `json:"path"` // dbm path
Query *Query `json:"query,omitempty"` // query paramater
Drivers *Drivers `json:"driver,omitempty"` // assigned drivers
Type Type `json:"type,omitempty"` // dbm datatype
Value any `json:"value,omitempty"` // dbm value
Rights Rights `json:"rights,omitempty"` // dbm read /write rights
Uuid uuid.UUID `json:"uuid"` // universally unique identifier
Path string `json:"path"` // dbm path
Query *Query `json:"query,omitempty"` // query paramater
Drivers *Drivers `json:"driver,omitempty"` // assigned drivers
Type Type `json:"type,omitempty"` // dbm datatype
Value any `json:"value,omitempty"` // dbm value
HasChild bool `json:"hasChild,omitempty"` // inidicates path has child/ren
Rights Rights `json:"rights,omitempty"` // dbm read /write rights
}
// search dbm datapoints by path