src/ydn/db/crud/req/websql.js
function(index, value) {
        var idx_name = ydn.db.base.PREFIX_MULTIENTRY +
            table.getName() + ':' + index.getName();
        var idx_sql = insert_statement + goog.string.quote(idx_name) + ' (' +
            table.getSQLKeyColumnNameQuoted() + ', ' +
            index.getSQLIndexColumnNameQuoted() + ') VALUES (?, ?)';
        var idx_params = [ydn.db.schema.Index.js2sql(key, table.getType()),
              ydn.db.schema.Index.js2sql(value, index.getType())];

        /**
         * @param {SQLTransaction} tx transaction.
         * @param {SQLResultSet} rs results.
         */
        var idx_success = function(tx, rs) {

        };
        /**
         * @param {SQLTransaction} tr transaction.
         * @param {SQLError} error error.
         * @return {boolean} true to roll back.
         */
        var idx_error = function(tr, error) {
          goog.log.warning(me.logger, 'multiEntry index insert error: ' + error.message);
          return false;
        };

        goog.log.finest(me.logger, req.getLabel() + ' multiEntry ' + idx_sql +
            ' ' + idx_params);
        tx.executeSql(idx_sql, idx_params, idx_success, idx_error);
      }
function(index, value) {
        var idx_name = ydn.db.base.PREFIX_MULTIENTRY +
            table.getName() + ':' + index.getName();
        var idx_sql = insert_statement + goog.string.quote(idx_name) + ' (' +
            table.getSQLKeyColumnNameQuoted() + ', ' +
            index.getSQLIndexColumnNameQuoted() + ') VALUES (?, ?)';
        var idx_params = [ydn.db.schema.Index.js2sql(key, table.getType()),
              ydn.db.schema.Index.js2sql(value, index.getType())];

        /**
         * @param {SQLTransaction} tx transaction.
         * @param {SQLResultSet} rs results.
         */
        var idx_success = function(tx, rs) {

        };
        /**
         * @param {SQLTransaction} tr transaction.
         * @param {SQLError} error error.
         * @return {boolean} true to roll back.
         */
        var idx_error = function(tr, error) {
          goog.log.warning(me.logger, 'multiEntry index insert error: ' + error.message);
          return false;
        };

        goog.log.finest(me.logger, req.getLabel() + ' multiEntry ' + idx_sql +
            ' ' + idx_params);
        tx.executeSql(idx_sql, idx_params, idx_success, idx_error);
      }
function ( index , value ) { var idx_name = ydn . db . base . PREFIX_MULTIENTRY + table . getName ( ) + ':' + index . getName ( ) ; var idx_sql = insert_statement + goog . string . quote ( idx_name ) + ' (' + table . getSQLKeyColumnNameQuoted ( ) + ', ' + index . getSQLIndexColumnNameQuoted ( ) + ') VALUES (?, ?)' ; var idx_params = [ ydn . db . schema . Index . js2sql ( key , table . getType ( ) ) , ydn . db . schema . Index . js2sql ( value , index . getType ( ) ) ] ; /**
         * @param {SQLTransaction} tx transaction.
         * @param {SQLResultSet} rs results.
         */ var idx_success = function ( tx , rs ) { } ; /**
         * @param {SQLTransaction} tr transaction.
         * @param {SQLError} error error.
         * @return {boolean} true to roll back.
         */ var idx_error = function ( tr , error ) { goog . log . warning ( me . logger , 'multiEntry index insert error: ' + error . message ) ; return false ; } ; goog . log . finest ( me . logger , req . getLabel ( ) + ' multiEntry ' + idx_sql + ' ' + idx_params ) ; tx . executeSql ( idx_sql , idx_params , idx_success , idx_error ) ; }
Insert a row for each multi entry index.
@param {ydn.db.schema.Index} index multi entry index.
@param {number} value index at.
Insert a row for each multi entry index .