Class QdbTag
A tag in the database.
A tag is a lightweight means of finding entries in the database.
- qdb\QdbEntry
-
qdb\QdbTag
Namespace: qdb
Example:
Example:
You get a QdbTag instance by calling \QdbCluster::tag().
Then enumerate entry having this tag:
$users = $cluster->tag('user')->getEntries(); foreach ($user as $user) { echo($user->alias()); }
public
boolean
|
|
public
|
|
public
boolean
|
|
public
boolean
|
alias(),
attachTag(),
attachTags(),
detachTag(),
getTags(),
hasTag(),
remove()
|