How to use the indexDataType function from bindings

Find comprehensive JavaScript bindings.indexDataType code examples handpicked from public code repositorys.

1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
 *     client.close()
 *   })
 * })
 */
Client.prototype.createStringIndex = function (options, policy, callback) {
  options.datatype = as.indexDataType.STRING
  return this.createIndex(options, policy, callback)
}


/**
fork icon75
star icon197
watch icon37

+ 11 other calls in file

452
453
454
455
456
457
458
459
460
461
462
 * @property {number} NUMERIC - Values contained in the SI are integers.
 * @property {number} GEO2DSPHERE - Values contained in the SI are GeoJSON values (points or polygons).
 *
 * @see {@link Client#createIndex}
 */
exports.indexDataType = as.indexDataType


/**
 * @summary Enumeration of SI types.
 *
fork icon75
star icon197
watch icon0

+ 6 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)