function DBGetRowObjectString(cursor) {
    //noinspection JSUnresolvedFunction
    const count = cursor.getColumnCount();
    let results = {};
    for (let i=0;i<count;i++) {
        const type = cursor.getType(i);
        //noinspection JSUnresolvedFunction
        const name = cursor.getColumnName(i);
        switch (type) {
            case 0: // NULL
                results[name] = null;
                break;

            case 1: // Integer
                //noinspection JSUnresolvedFunction
                results[name] = cursor.getString(i);
                break;

            case 2: // Float
                //noinspection JSUnresolvedFunction
                results[name] = cursor.getString(i);
                break;

            case 3: // String
                //noinspection JSUnresolvedFunction
                results[name] = cursor.getString(i);
                break;

            case 4: // Blob
                // noinspection JSCheckFunctionSignatures
                results[name] = cursor.getBlob(i);
                break;

            default:
                throw new Error('SQLITE - Unknown Field Type '+ type);
        }
    }
    return results;
}
function DBGetRowObjectString(cursor) {
    
    const count = cursor.getColumnCount();
    let results = {};
    for (let i=0;i<count;i++) {
        const type = cursor.getType(i);
        
        const name = cursor.getColumnName(i);
        switch (type) {
            case 0: 
                results[name] = null;
                break;

            case 1: 
                
                results[name] = cursor.getString(i);
                break;

            case 2: 
                
                results[name] = cursor.getString(i);
                break;

            case 3: 
                
                results[name] = cursor.getString(i);
                break;

            case 4: 
                
                results[name] = cursor.getBlob(i);
                break;

            default:
                throw new Error('SQLITE - Unknown Field Type '+ type);
        }
    }
    return results;
}
function DBGetRowObjectString ( cursor ) { //noinspection JSUnresolvedFunction const count = cursor . getColumnCount ( ) ; let results = { } ; for ( let i = 0 ; i < count ; i ++ ) { const type = cursor . getType ( i ) ; //noinspection JSUnresolvedFunction const name = cursor . getColumnName ( i ) ; switch ( type ) { case 0 : // NULL results [ name ] = null ; break ; case 1 : // Integer //noinspection JSUnresolvedFunction results [ name ] = cursor . getString ( i ) ; break ; case 2 : // Float //noinspection JSUnresolvedFunction results [ name ] = cursor . getString ( i ) ; break ; case 3 : // String //noinspection JSUnresolvedFunction results [ name ] = cursor . getString ( i ) ; break ; case 4 : // Blob // noinspection JSCheckFunctionSignatures results [ name ] = cursor . getBlob ( i ) ; break ; default : throw new Error ( 'SQLITE - Unknown Field Type ' + type ) ; } } return results ; }
*
Parses a Row of data into a JS Object (as String)
@param cursor
@returns {{}}
* Parses a Row of data into a JS Object ( as String )