public static func executeQuery(sqlStr: String) -> (result: [SDRow], error: Int?) {

        //create result and error variables
        var result = [SDRow] ()
        var error: Int? = nil