Interface DBPreparable

All Known Implementing Classes:
DBAbstractFuncExpr, DBAliasExpr, DBCoalesceExpr, DBColumnJoinExpr, DBCompareAndOrExpr, DBCompareColExpr, DBCompareExpr, DBCompareJoinExpr, DBCompareNotExpr, DBCompareParenthesisExpr, DBConcatFuncExpr, DBConvertExpr, DBCrossJoinExpr, DBDecodeExpr, DBExistsExpr, DBFuncExpr, DBJoinExpr, DBParenthesisExpr, DBScalarExpr, DBValueExpr, PostgresAtAt, PostgresFuncExpr

public interface DBPreparable
DBPreparable This interface indicates that a DBExpr Object wants to perform preparation tasks when added to a DBCommand
Author:
rainer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Prepares an expression for a query This function is called by DBCommand in order to add values as query parameters instead of being literally included in the sql statement Please Note: This function is internally called.
  • Method Details

    • prepareParams

      void prepareParams(DBCommand cmd, DBExpr parent)
      Prepares an expression for a query This function is called by DBCommand in order to add values as query parameters instead of being literally included in the sql statement Please Note: This function is internally called. Do not call yourself!
      Parameters:
      cmd - the command to which to add the parameters
      parent - the parent expression holding the value