Exemple #1
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 #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);
 }