Lines Matching defs:pid
16 public function __construct($schema, $pid, $ts = 0, $rid = 0)
19 parent::__construct($schema, $pid, $ts, $rid);
50 $where = "WHERE pid = ?";
51 $opts = [$this->pid];
83 "UPDATE $this->stable SET latest = 0 WHERE latest = 1 AND pid = ? AND rid = 0",
84 [$this->pid]
88 "UPDATE $this->mtable SET latest = 0 WHERE latest = 1 AND pid = ? AND rid = 0",
89 [$this->pid]
100 return ['rid, pid, rev, latest'];
108 return [self::DEFAULT_PAGE_RID, $this->pid, $this->ts, 1];
117 return "INSERT INTO $this->mtable (latest, rev, pid, rid, colref, row, value) VALUES (?,?,?,?,?,?,?)";
125 return [AccessTable::DEFAULT_LATEST, $this->ts, $this->pid, self::DEFAULT_PAGE_RID];