SimpleSAML\Database::read PHP Method

read() public method

This executes queries on a database server that is determined by this::getSlave().
public read ( string $stmt, array $params = [] ) : PDOStatement
$stmt string Prepared SQL statement
$params array Parameters
return PDOStatement object
    public function read($stmt, $params = array())
    {
        $db = $this->getSlave();
        return $this->query($db, $stmt, $params);
    }