👨‍💻
Hasan Mert ERMİŞ
  • Main
  • Milvus 2 gRPC Php Client
    • Installing the php grpc plugin
    • Create Collection ( Attu )
    • Install Package ( Composer )
    • Connection And Get Collections
    • Inserting data to the collection
    • Deleting data in a collection
    • Vector search in collection ( Php Client )
    • Vector search in collection ( Attu )
    • Update vector
Powered by GitBook
On this page
  • Code
  • Response
  • Video
  1. Milvus 2 gRPC Php Client

Deleting data in a collection

Code

<?php
use Hasanmertermis\MilvusPhpClient\Domain\Milvus;

require_once __DIR__ . '/vendor/autoload.php';

$client = new Milvus();
$client->connection("localhost", 19530);
$deleteId = 'exam-uuid-or-string-data';
$deletedIDs = $client->delete('example_collection', $deleteId);
print_r($deletedIDs);

Response

Array
(
    [0] => exam-uuid-or-string-data
)

Video

PreviousInserting data to the collectionNextVector search in collection ( Php Client )

Last updated 2 years ago