     import CSQLiteDarwin
 #endif
 
-import Dispatch
 import Foundation
 
 private var alphabet = Array("0123456789abcdef".characters)

            type = .String
            stringValue = value as! String
        } else if (mirror.subjectType == Float.self) {
            type = .Double
            numericValue = NSNumber(value: value as! Float)
        } else if (mirror.subjectType == Double.self) {
            type = .Double
            numericValue = NSNumber(value: value as! Double)
        } else if (mirror.subjectType == Data.self) {
            type = .Blob
            blobValue = value as! Data
        } else if (mirror.subjectType == Int.self) {
            type = .Int
            numericValue = NSNumber(value: value as! Int)
        } else if (value is NSNumber) {
            type = .Double
            numericValue = value as! NSNumber
        } else if (value is NSString) {
            type = .String
            stringValue = value as! String
        } else {
            type = .Null
        }
    }
    
    public func asBool() -> Bool {
        if type == .Int {
            return numericValue.boolValue
        }
        return false

            }
        } else {
            // error in statement
            print("SQL Error in : \(sql) \n Message: \(String(cString: sqlite3_errmsg(db)))\n")
        }
        
        sqlite3_finalize(stmt)
        
        return results
        
    }
    
