Solar_Sql_Adapter_MysqlReplicated::fetchOne()
    public
    array
     Solar_Sql_Adapter_MysqlReplicated::fetchOne 
         ( array|string  $spec
        , array  $data  = array ()
    
 )
Fetches one row from the database.
Inherited from Solar_Sql_Adapter.
Parameters
- (array|string) - $spec: An array of component parts for a SELECT, or a literal query string.
- (array) - $data: An associative array of data to bind into the SELECT statement.
Returns
- (array) 
Description
Fetches one row from the database.
When $spec is an array, automatically sets LIMIT 1 OFFSET 0 to limit the results to a single row.