com.anwen.mongo.conditions.interfaces.Query Maven / Gradle / Ivy
package com.anwen.mongo.conditions.interfaces;
import com.anwen.mongo.support.SFunction;
public interface Query extends Project {
Children order(SFunction column,Integer order);
/**
* 自定义排序
* @param column 字段
* @return {@link Children}
* @author anwen
* @date 2024/7/13 下午5:30
*/
Children order(String column,Integer order);
/**
* 正序排序
* @param column 列名、字段名,lambda方式
* @return com.anwen.mongo.sql.query.LambdaQueryMongoWrapper
* @author JiaChaoYang
* @date 2023/6/20/020
*/
Children orderByAsc(SFunction column);
/**
* 倒序排序
* @param column 列名、字段名,lambda方式
* @return com.anwen.mongo.sql.query.LambdaQueryMongoWrapper
* @author JiaChaoYang
* @date 2023/6/20/020
*/
Children orderByDesc(SFunction column);
/**
* 正序排序
* @param column 列名、字段名
* @return com.anwen.mongo.sql.query.LambdaQueryMongoWrapper
* @author JiaChaoYang
* @date 2023/6/20/020
*/
Children orderByAsc(String column);
/**
* 倒序排序
* @param column 列名、字段名,lambda方式
* @return com.anwen.mongo.sql.query.LambdaQueryMongoWrapper
* @author JiaChaoYang
* @date 2023/6/20/020
*/
Children orderByDesc(String column);
}