public function dbFetchOne( $select_query,  $parameters = array() ) {

       $bool_and_statement = static::_execute($select_query, $parameters, true, $this->_connection_name);
        
        $statement = array_pop($bool_and_statement);
            
        return $statement->fetch(\PDO::FETCH_ASSOC);
    }
public function dbFetchOne( $select_query,  $parameters = array() ) {

       $bool_and_statement = static::_execute($select_query, $parameters, true, $this->_connection_name);
        
        $statement = array_pop($bool_and_statement);
            
        return $statement->fetch(\PDO::FETCH_ASSOC);
    }
public function dbFetchOne ( $ select_query , $ parameters = array ( ) ) { $ bool_and_statement = static :: _execute ( $ select_query , $ parameters , true , $ this -> _connection_name ) ; $ statement = array_pop ( $ bool_and_statement ) ; return $ statement -> fetch ( \ PDO :: FETCH_ASSOC ) ; }
Tell the DBConnector that you are expecting a single result
back from your query, and execute it. Will return
a single instance of the DBConnector class, or false if no
rows were returned.
As a shortcut, you may supply an ID as a parameter
to this method. This will perform a primary key
lookup on the table.
Tell the DBConnector that you are expecting a single result back from your query and execute it . Will return a single instance of the DBConnector class or false if no rows were returned . As a shortcut you may supply an ID as a parameter to this method . This will perform a primary key lookup on the table .