public function getValue(Db $db, ...$args) {
        $driver = $this->driverKey($db);

        if (isset($this->driverValues[$driver])) {
            return sprintf($this->driverValues[$driver], ...$args);
        } elseif (isset($this->driverValues['default'])) {
            return sprintf($this->driverValues['default'], ...$args);
        } else {
            throw new \InvalidArgumentException("No literal for driver '$driver'.", 500);
        }
    }
public function getValue(Db $db, ...$args) {
        $driver = $this->driverKey($db);

        if (isset($this->driverValues[$driver])) {
            return sprintf($this->driverValues[$driver], ...$args);
        } elseif (isset($this->driverValues['default'])) {
            return sprintf($this->driverValues['default'], ...$args);
        } else {
            throw new \InvalidArgumentException("No literal for driver '$driver'.", 500);
        }
    }
public function getValue ( Db $ db , ... $ args ) { $ driver = $ this -> driverKey ( $ db ) ; if ( isset ( $ this -> driverValues [ $ driver ] ) ) { return sprintf ( $ this -> driverValues [ $ driver ] , ... $ args ) ; } elseif ( isset ( $ this -> driverValues [ 'default' ] ) ) { return sprintf ( $ this -> driverValues [ 'default' ] , ... $ args ) ; } else { throw new \ InvalidArgumentException ( "No literal for driver '$driver'." , 500 ) ; } }
Get the literal value.

@param Db $db The database driver getting the value.
@param mixed ...$args Arguments to pass into the literal. This uses **sprintf()** so arguments must already be escaped.
@return string Returns the value for the specific driver, the default literal, or "null" if there is no default.
Get the literal value .