code: function checkSelectById () {
      // default to false
      this.isSelectById = false
      // id column must be in where clause
      if (!defined(this.args.where.id)) {
          return
      }
      // id must be string or array being selected with all results
      if (typeof this.args.where.id !== 'string' && !(Array.isArray(this.args.where.id) && (this.args.all || this.args.one))) {
          return
      }
      // query with order and join not supported
      if (defined(this.args.order) || defined(this.args.join)) {
          return
      }
      // false if there are custom revision flags
      if (this.args.allRevisions || this.args.current || this.args.isCurrent) {
          return
      }
      // get number of properties for where
      var whereProps = _.keys(this.args.where).length
      // false if there are more than 2 (id, isDeleted) where props
      if (whereProps > 2) {
          return
      }
      // if there are 2 where props other must be isDeleted
      else if (whereProps === 2 && !defined(this.args.where.isDeleted)) {
          return
      }
      // query is select by id
      this.isSelectById = true
  }
docs: @function checkSelectById
  
  set isSelectById flag