     
 }
 
+public class Result {
+    var results: [Record]? = nil
+    var error: String? = nil
+}
+
 public class SWSQLite {
     
     var db: OpaquePointer?

        } else if (value is NSNumber) {
            type = .Numeric
            numericValue = value as! NSNumber
        } else {
            type = .Null
        }

        db = nil;
    }
    
    public func execute(sql: String, params:[Any], silenceErrors: Bool) -> Result {
        
        let result = Result()
        
        var values: [Value] = []
        for o in params {
