4 lines
434 B
PHP
4 lines
434 B
PHP
<?php
|
|
require __DIR__.'/boot-QA.php';
|
|
echo json_encode(Illuminate\Support\Facades\DB::table('documents')->where('status','active')->where('malware_scan_status','clean')->whereIn('media_type',['application/pdf','image/jpeg','image/png','image/webp'])->where(fn($q)=>$q->where('file_name','ilike','%synthetic%')->orWhere('file_name','ilike','%qa%'))->get(['id','file_name','media_type','storage_key','sha256']),JSON_UNESCAPED_UNICODE);
|