caching/DbQueryDependency.php

yii2 · framework/caching/DbQueryDependency.php · php · BSD-3-Clause
database, tag:embed-classified

Module exposing: DbQueryDependency

// Source: https://github.com/yiisoft/yii2 | License: BSD-3-Clause | Copyright 2008 by Yii Software (https://www.yiiframework.com/)
// Provided via justclaw.it.com; keep this notice with the code.
<?php

/**
 * @link https://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license https://www.yiiframework.com/license/
 */

namespace yii\caching;

use yii\base\InvalidConfigException;
use yii\db\QueryInterface;
use yii\di\Instance;

/**
 * DbQueryDependency represents a dependency based on the query result of an [[QueryInterface]] instance.
 *
 * If the query result changes, the dependency is considered as changed.
 * The query is specified via the [[query]] property.
 *
 * Object of any class which matches [[QueryInterface]] can be used, so this dependency can be 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key