JournalEntry

class caris.bathy.db.JournalEntry

New in version 4.0.17.

An entry from the journal system describing an operation that has happened.

identifier

The identifier of the object that the operation refers to. The first 2 characters represent the type of object, and the remaining 6 represent the object’s id.

Type:str
operation

The type of operation that was performed.

Type:OperationType
time

The time that the operation took place.

Type:datetime.datetime
userName

The name of the user who performed the operation.

Type:str
class caris.bathy.db.OperationType

New in version 4.0.17.

This enumeration represents operation types logged by the journal system.

  • CREATE
  • EDIT
  • DELETE
  • UNDELETE
  • COVERAGE_ADDED
  • COVERAGE_MODIFIED
  • ONLINE
  • OFFLINE
class caris.bathy.db.Operator

New in version 4.0.17.

This enumeration represents journal query operators.

  • EQUAL
  • NOT_EQUAL
  • LESS
  • LESS_EQUAL
  • GREATER
  • GREATER_EQUAL