Example #1
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);
 }
Example #2
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);
 }
Example #3
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);
 }