All Downloads are FREE. Search and download functionalities are using the official Maven repository.

group.flyfish.fluent.chain.SQLOperations Maven / Gradle / Ivy

package group.flyfish.fluent.chain;

import group.flyfish.fluent.chain.common.PreSqlChain;
import group.flyfish.fluent.update.Update;
import group.flyfish.fluent.utils.sql.SFunction;

/**
 * SQL操作
 */
public interface SQLOperations {

    /**
     * 查询起手
     *
     * @param fields 字段列表,不传代表所有字段
     * @param     实体泛型
     * @return 预查询链
     */
    @SuppressWarnings("unchecked")
     PreSqlChain select(SFunction... fields);

    /**
     * 更新起手
     *
     * @param clazz 具体表
     * @param    泛型
     * @return 链式调用
     */
     Update update(Class clazz);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy