MediaWiki  master
IDBAccessObject.php
Go to the documentation of this file.
1 <?php
57 interface IDBAccessObject {
60  public const READ_NORMAL = 0;
61 
63  public const READ_LATEST = 1;
64 
66  public const READ_LOCKING = self::READ_LATEST | 2; // READ_LATEST (1) and "LOCK IN SHARE MODE" (2)
67 
69  public const READ_EXCLUSIVE = self::READ_LOCKING | 4; // READ_LOCKING (3) and "FOR UPDATE" (4)
70 
72  public const READ_LATEST_IMMUTABLE = 8;
73 
74  // Convenience constant for tracking how data was loaded (higher => higher QoS)
75  public const READ_NONE = -1; // not loaded yet (or the object was cleared)
76 }
Interface for database access objects.
const READ_NONE
Constants for object loading bitfield flags (higher => higher QoS)