docs: function () {
                  var db = this.__db;
                  if (!db) {
                      db = this.__db = patio.defaultDatabase;
                  }
                  if (!db) {
                      throw new ModelError("patio has not been connected to a database");
                  }
                  return db;
              }