Changeset 73

Show
Ignore:
Timestamp:
09/09/07 14:18:59 (1 year ago)
Author:
stonecobra
Message:

added length() function in Row to return number of columns

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dbi/Row.d

    r70 r73  
    172172        } 
    173173 
     174    /** 
     175     *  
     176     * Returns: the number of columns in the row. 
     177     */ 
     178    size_t length () { 
     179        return fieldTypes.length; 
     180    }  
     181     
    174182    private: 
    175183    char[][] fieldNames;