karimiumar/SimplyJdbc

A CONDITION function

Closed this issue · 1 comments

Need a function to handle special cases when the caller has to create dynamic conditions and doesn't specifically knows the column names to use.

Created a function in SelectFunction as below:

/**
     * A utility function to handle special cases when the caller has to create
     * dynamic conditions and doesn't specifically knows the column names to use.
     *
     * @param condition The condition in String format
     * @return Returns {@link SelectOp}
     */
    SelectOp CONDITION(String condition);