Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageruby
themeEmacs
titleFind Phidget Servo Model
linenumberstrue
#
Query:
  Find:
    PhidgetServoModel:
      PhidServoId(ne=: "")


Find Result is:

Code Block
languageruby
themeEmacs
titleFind Result Phidget Servo Model
linenumberstrue
#
Find(Status="Success"):
  Result:
    PhidgetServoModel:
      PhidServoId: "KNI5JYVPAAAAUAABA4ONNHF2"
      PhidgetDeviceType: "PhidgetAdvancedServo"
      ServoAngle: 110</ServoAngle>110
      DeviceInterfaceIndex: 0
      ServoProtocolURL: "phid://"

...

Note that the PhidServoId value is automatically generated even though it is NOT specified at the time of Create Query

Code Block
languageruby
themexmlEmacs
titleAutomatically Generated System ID
linenumberstrue
<PhidServoId>KNI5JYVPAAAAUAABA4ONNHF2</PhidServoId>#
PhidServoId: "KNI5JYVPAAAAUAABA4ONNHF2"

About System ID:

  • Have unique values per Installation of A-Stack: System ID Values are guaranteed to be Unique for a given Installation of A-Stack.
  • Value can neither be given or modified by user: If an attribute is defined of type Sid or SystemId, their values can neither be specified or updated by the user.
  • New values are generated each time for same model: Each time an instance is deleted and created again new value System ID value.

...