Class CaseExpression.WhenClause<B,R extends AnyResult<B>>

    • Method Detail

      • toSQLString

        public String toSQLString​(DBDefinition db)
        Description copied from interface: HasSQLString
        Produces the snippet provided by this class.

        This is only used internally.

        If you are extending DBvolution and adding a new function this is the place to format the information for use in SQL. A DBDefinition instance is provided to supply context and so your SQL can used on multiple database engines.

        Specified by:
        toSQLString in interface HasSQLString
        Parameters:
        db - the target database

        Support DBvolution at Patreon

        Returns:
        the DBValue formatted as a SQL snippet