API Reference Source

lib/index-hints.js

  1. 'use strict';
  2.  
  3. /**
  4. * An enum of index hints to be used in mysql for querying with index hints
  5. *
  6. * @property USE
  7. * @property FORCE
  8. * @property IGNORE
  9. */
  10. const IndexHints = module.exports = { // eslint-disable-line
  11. USE: 'USE',
  12. FORCE: 'FORCE',
  13. IGNORE: 'IGNORE'
  14. };