Esempio n. 1
0
 public static Db_stmt new_insert_(Db_conn conn, String tbl, String... flds) {
   Db_qry qry = Db_qry_insert.new_(tbl, flds);
   return conn.Stmt_new(qry);
 }
Esempio n. 2
0
 public static Db_stmt new_select_as_rdr(Db_conn conn, Db_qry__select_in_tbl qry) {
   return conn.Stmt_new(qry);
 }
Esempio n. 3
0
 public static Db_stmt new_select_as_rdr(Db_conn conn, String sql) {
   return conn.Stmt_new(Db_qry_sql.rdr_(sql));
 }
Esempio n. 4
0
 public static Db_stmt new_select_all_(Db_conn conn, String tbl) {
   return conn.Stmt_new(Db_qry_.select_tbl_(tbl));
 }
Esempio n. 5
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);
 }
Esempio n. 6
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);
 }
Esempio n. 7
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);
 }
Esempio n. 8
0
 public static Db_stmt new_update_(Db_conn conn, String tbl, String[] where, String... flds) {
   Db_qry qry = Db_qry_update.New(tbl, where, flds);
   return conn.Stmt_new(qry);
 }