You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
548 B

<?php
// https://github.com/owoalex/deegraph/blob/main/docs/query-delete.md#examples
global $db;
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../examples/connection.php';
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilder;
use Darksparrow\DeegraphInteractions\QueryInstance\DeleteQuery;
function Example0(): DeleteQuery
{
$queryBuilder = QueryBuilder::Delete()
->RelativePath(relativePath: "");
return $queryBuilder->Build();
}
$result = Example0()->RunQuery($db);
var_dump($result);