monkey.dao.util
Provides constants for ascending and descending sort orders that can
be used in sorting implementations. Additionally, it defines the OperationType
enumeration which specifies CRUD-like operations for different contexts.
Classes:
-
OperationType–Defines the OperationType enumeration that represents CRUD-like operations.
Attributes:
-
ASC–Ascending sort order
-
ASCENDING–Ascending sort order
-
DESC–Descending sort order
-
DESCENDING–Descending sort order
monkey.dao.util.ASC
module-attribute
ASC = 1
Ascending sort order
monkey.dao.util.ASCENDING
module-attribute
ASCENDING = 1
Ascending sort order
monkey.dao.util.DESC
module-attribute
DESC = -1
Descending sort order
monkey.dao.util.DESCENDING
module-attribute
DESCENDING = -1
Descending sort order
monkey.dao.util.OperationType
Bases: Enum
Defines the OperationType enumeration that represents CRUD-like operations.
This enumeration is used to specify the type of operation being performed, such as inserting, updating, deleting, or replacing. It can be used in contexts where a clear definition of the operation type is required.
Attributes:
-
INSERT–Represents the "insert" operation.
-
UPDATE–Represents the "update" operation.
-
DELETE–Represents the "delete" operation.
-
REPLACE–Represents the "replace" operation.
monkey.dao.util.OperationType.DELETE
class-attribute
instance-attribute
DELETE = 'delete'
monkey.dao.util.OperationType.INSERT
class-attribute
instance-attribute
INSERT = 'insert'
monkey.dao.util.OperationType.REPLACE
class-attribute
instance-attribute
REPLACE = 'replace'
monkey.dao.util.OperationType.UPDATE
class-attribute
instance-attribute
UPDATE = 'update'