docs: function nddb_insert(o, doUpdate) {
          var nddbid, res;
          if (('object' !== typeof o) && ('function' !== typeof o)) {
              this.throwErr('TypeError', 'insert', 'object or function ' +
                            'expected, ' + typeof o + ' received');
          }
  
          // Check / create a global index.
          if ('undefined' === typeof o._nddbid) {
              // Create internal idx.
              nddbid = J.uniqueKey(this.nddbid.resolve);
              if (!nddbid) {
                  this.throwErr('Error', 'insert',
                                'failed to create index: ' + o);
              }
              if (df) {
                  Object.defineProperty(o, '_nddbid', { value: nddbid });
              }
              else {
                  o._nddbid = nddbid;
              }
          }
          // Add to index directly (bypass api).
          this.nddbid.resolve[o._nddbid] = this.db.length;
          // End create index.
          res = this.emit('insert', o, this.db.length);
          // Stop inserting elements if one callback returned FALSE.
          if (res === false) return false;
          this.db.push(o);
          if (doUpdate) {
              this._indexIt(o, (this.db.length-1));
              this._hashIt(o);
              this._viewIt(o);
          }
          return true
      }