Lines Matching refs:DB

25 use Fisharebest\Webtrees\DB;  alias
81 $query = DB::table('gedcom')
176 DB::table('gedcom')->insert([
180 $tree_id = DB::lastInsertId();
188 DB::query()->from('gedcom_setting')->insertUsing(
198 DB::query()->from('default_resn')->insertUsing(
250 DB::table('gedcom_chunk')->where('gedcom_id', '=', $tree->id())->delete();
262 DB::table('gedcom_chunk')->insert([
271 DB::table('gedcom_chunk')->insert([
289 DB::table('gedcom_chunk')->where('gedcom_id', '=', $tree->id())->delete();
290 DB::table('individuals')->where('i_file', '=', $tree->id())->delete();
291 DB::table('families')->where('f_file', '=', $tree->id())->delete();
292 DB::table('sources')->where('s_file', '=', $tree->id())->delete();
293 DB::table('other')->where('o_file', '=', $tree->id())->delete();
294 DB::table('places')->where('p_file', '=', $tree->id())->delete();
295 DB::table('placelinks')->where('pl_file', '=', $tree->id())->delete();
296 DB::table('name')->where('n_file', '=', $tree->id())->delete();
297 DB::table('dates')->where('d_file', '=', $tree->id())->delete();
298 DB::table('change')->where('gedcom_id', '=', $tree->id())->delete();
299 DB::table('link')->where('l_file', '=', $tree->id())->delete();
300 DB::table('media_file')->where('m_file', '=', $tree->id())->delete();
301 DB::table('media')->where('m_file', '=', $tree->id())->delete();
302 DB::table('block_setting')
306 DB::table('block')->where('gedcom_id', '=', $tree->id())->delete();
307 DB::table('user_gedcom_setting')->where('gedcom_id', '=', $tree->id())->delete();
308 DB::table('gedcom_setting')->where('gedcom_id', '=', $tree->id())->delete();
309 DB::table('module_privacy')->where('gedcom_id', '=', $tree->id())->delete();
310 DB::table('hit_counter')->where('gedcom_id', '=', $tree->id())->delete();
311 DB::table('default_resn')->where('gedcom_id', '=', $tree->id())->delete();
312 DB::table('gedcom_chunk')->where('gedcom_id', '=', $tree->id())->delete();
313 DB::table('log')->where('gedcom_id', '=', $tree->id())->delete();
314 DB::table('gedcom')->where('gedcom_id', '=', $tree->id())->delete();