Yo'q, yuqoridagi misol MySQL-dan foydalanmoqda, u relasional ma'lumotlar bazasi. Agar siz SQL bo'lmagan MongoDB-dan foydalanmoqchi bo'lsangiz, siz tegishli drayver yoki drayverdan foydalanishingiz kerak. Uni composer bog'liqlik boshqaruvchisidan foydalanib quyidagi buyruq bilan o'rnatishingiz mumkin: composer require mongodb/mongodb Drayver o'rnatilgandan so'ng MongoDB-ga quyidagicha ulanishingiz mumkin: <?php $client = new MongoDB\Client '(mongodb+srv://<username>:<password><@cluster-address>/?testretryWrites=true&w=majority' ); $dbclient = $ent-test>;
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence