API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.persistance.builders. JOTQueryBuilderHelper View Source
Author(s)
tcolar
Since
Version
Serial
Hierarchy
 Object
      JOTQueryBuilderHelper
Implements
Subclasses
Description
publicfinal class JOTQueryBuilderHelper
Common static methods shared by all query builders
See also:   
Constructors
private JOTQueryBuilderHelper ()
Methods
Hide/Show inherited methods
publicstatic JOTQueryBase appendToSQL (JOTQueryBase builder, String append)
  Manually append whatever you like to the query.
publicstatic JOTQueryBase orderBy (JOTQueryBase builder, String orderBy)
  Ascending orderBy should only be called once
publicstatic JOTQueryBase orderBy (JOTQueryBase builder, String orderBy, boolean ascending)
  Add a orderBy to the query should only be called once
publicstatic JOTQueryBase orWhere (JOTQueryBase builder, JOTSQLCondition cond)
  If you want to do a OR where instead of and.
publicstatic JOTQueryBase orWhere (JOTQueryBase builder, String where)
  Note: It is much safer to use orWere(JOTSQLCondition) .., If you want to do a OR where instead of and.
publicstatic JOTQueryBase where (JOTQueryBase builder, JOTSQLCondition cond)
  If several where, we will be using AND
publicstatic JOTQueryBase where (JOTQueryBase builder, String where)
  Note: It is much safer to use where(JOTSQLCondition) .., If several where, we will be using AND
publicstatic JOTQueryBase withParams (JOTQueryBase builder, String pms)
  Provide PreparedStement params (optional)
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar