Exemple #1
0
 public static Db_stmt new_select_all_(Db_conn conn, String tbl) {
   return conn.Stmt_new(Db_qry_.select_tbl_(tbl));
 }
Exemple #2
0
 public static Db_stmt new_select_(Db_conn conn, String tbl, String[] where, String... flds) {
   Db_qry__select_cmd qry = Db_qry_.select_cols_(tbl, Db_crt_.eq_many_(where), flds);
   return conn.Stmt_new(qry);
 }
Exemple #3
0
 public static Db_stmt new_select_in_(
     Db_conn conn, String tbl, String in_fld, Object[] in_vals, String... flds) {
   Db_qry__select_cmd qry =
       Db_qry_.select_cols_(tbl, Db_crt_.New_in(in_fld, in_vals), flds).Order_asc_(in_fld);
   return conn.Stmt_new(qry);
 }
Exemple #4
0
 public static Db_stmt new_delete_(Db_conn conn, String tbl, String... where) {
   Db_qry_delete qry = Db_qry_.delete_(tbl, Db_crt_.eq_many_(where));
   return conn.Stmt_new(qry);
 }