         
         switch columnType {
         case SQLITE_INTEGER:
-            return integerForColumn(index)
+            return integer64ForColumn(index)
         case SQLITE_FLOAT:
             return doubleForColumn(index)
         case SQLITE_TEXT:

        let totalBindCount = sqlite3_bind_parameter_count(handle)
        
        var bindCount: Int32 = 0
        for (index, value) in values.enumerated() {
            try bindValue(value, forIndex: Int32(index+1))
            bindCount += 1

    }
    
    internal func bind(_ namedValues: NamedSQLiteValues) throws {
        
        let totalBindCount = sqlite3_bind_parameter_count(handle)
        
        var values: [SQLiteValue?] = Array(repeating: nil, count: Int(totalBindCount))
        
        for (name, value) in namedValues {
            let index = sqlite3_bind_parameter_index(handle, ":\(name)")
            
            values[index-1] = value
        }
        
        try bind(values)
    }
