Beispiel #1
0
Tests.register("DB.drop", function() {
    var db = new DB("private://tests");

    db.drop();

    Assert.throws(function() {
        db.get("foo");
    });

    db.close(); // noop
});
Beispiel #2
0
Datei: rv.js Projekt: akshell/ak
 drop: function () {
   db.drop([this.name]);
 },