AbstractDBObject - Global
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- API reference
The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
The AbstractDBObject API provides common methods for classes based on records in the database.
Use this script include as a base class to create your own database object class.
AbstractDBObject - isValid()
Determines if the current database record is valid.
See also IPService - Global.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
Boolean | True if the database record is valid, false otherwise. Flag that indicates whether the database record is valid. Valid values:
|
Example
The following example shows how to get a list of valid instances using the IPService() class from the IP Services [cmdb_ip_service] table. The IPService class extends the AbstractDBObject() class.
Output: