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

jaskell.sql.CouldReturning Maven / Gradle / Ivy

Go to download

This is a utils library for java 8 project. It include parsec combinators and sql generators library.

There is a newer version: 2.9.2
Show newest version
package jaskell.sql;

import jaskell.script.Directive;

import java.util.Arrays;
import java.util.stream.Collectors;

/**
 * TODO
 *
 * @author mars
 * @version 1.0.0
 * @since 2020/07/15 22:18
 */
public interface CouldReturning extends Directive {
    default Returning returning() {
        Returning result = new Returning();
        result._prefix = this;
        return result;
    }

    default Returning returning(String fields){
        Returning result = new Returning(fields);
        result._prefix = this;
        return result;
    }

    default Returning returning(String ... fields){
        Returning result = new Returning(fields);
        result._prefix = this;
        return result;
    }

    default Returning returning(Directive... fields){
        Returning result = new Returning(fields);
        result._prefix = this;
        return result;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy