@Override
 protected void Fill_stmt(Db_stmt stmt, int bgn, int end) {
   for (int i = bgn; i < end; i++) {
     Xowd_page_itm page = (Xowd_page_itm) hash.Get_at(i);
     stmt.Crt_int(page_tbl.Fld_page_ns(), page.Ns_id());
     stmt.Crt_bry_as_str(page_tbl.Fld_page_title(), page.Ttl_page_db());
   }
 }
示例#2
0
 public void Delete(int site_id) {
   Db_stmt stmt = conn.Stmt_delete(tbl_name, fld_site_id);
   stmt.Crt_int(fld_site_id, site_id).Exec_delete();
 }