code: function getByIdQuery(modelInstance) {
      const modelClass = modelInstance.getClass();
      const { idAttribute, modelName } = modelClass;
  
      return {
          table: modelName,
          clauses: [
              {
                  type: FILTER,
                  payload: {
                      [idAttribute]: modelInstance.getId(),
                  },
              },
          ],
      };
  }
docs: Generates a query specification to get the instance's
  corresponding table row using its primary key.
  
  @private
  @returns {Object}