Lines Matching refs:rid
14 public function __construct($table, $pid, $ts = 0, $rid = 0) argument
16 parent::__construct($table, $pid, $ts, $rid);
24 if (!$this->rid) return; // no data
28 $this->sqlite->query($sql, $this->rid);
30 $this->sqlite->query($sql, $this->rid);
58 $rid = $this->getRid() ?: "(SELECT (COALESCE(MAX(rid), 0 ) + 1) FROM $this->stable)";
61 VALUES ($rid," . trim(str_repeat('?,', count($vals)), ',') . ');';
108 return [$this->pid, $this->rid, AccessTable::DEFAULT_REV, AccessTable::DEFAULT_LATEST];
118 if (!$this->rid) {
119 …$this->rid = $this->sqlite->queryValue("SELECT rid FROM $this->stable WHERE ROWID = last_insert_ro…
120 if (!$this->rid) {
138 * @param int $rid
141 protected function handleEmptyMulti($pid, $rid, $colref) argument
146 $pid, $rid, $colref