                 }
             }
         } else {
+            if self.echo{
+                self.echo("BEGIN TRANSACTION", params: nil)
+            }
+
             db.inDatabase{$0.beginTransaction()}
         }
     }


            }
        } else {
            db.inDatabase{$0.rollback()}
        }
    }

    public func rollback(){
        if savepoints.count > 0{
            let savepoint = savepoints.removeLast()

            if self.echo{
                self.echo("ROLLBACK TO SAVEPOINT", params: [savepoint])
            }

            db.inDatabase{
                do {
