mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
comments adapters since they are not in use
This commit is contained in:
1 parent
07acfb330c
commit
7a340cb8f8
3 files changed
+58
-56
No files matched your search
@@ -1,28 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Utopia\Mongo\Adapter;
|
||||
|
||||
use Utopia\Mongo\Adapter;
|
||||
|
||||
class SwooleClient extends Adapter
|
||||
{
|
||||
public function isConnected(): bool
|
||||
{
|
||||
// TODO: Implement isConnected() method.
|
||||
}
|
||||
|
||||
public function connect(string $host, int $port = null, float $timeout = null): bool
|
||||
{
|
||||
// TODO: Implement connect() method.
|
||||
}
|
||||
|
||||
public function send(mixed $data): int|bool
|
||||
{
|
||||
// TODO: Implement send() method.
|
||||
}
|
||||
|
||||
public function recv(int $timeout = null): string|bool
|
||||
{
|
||||
// TODO: Implement recv() method.
|
||||
}
|
||||
}
|
||||
//
|
||||
//namespace Utopia\Mongo\Adapter;
|
||||
//
|
||||
//use Utopia\Mongo\Adapter;
|
||||
//
|
||||
//class SwooleClient extends Adapter
|
||||
//{
|
||||
// public function isConnected(): bool
|
||||
// {
|
||||
// // TODO: Implement isConnected() method.
|
||||
// }
|
||||
//
|
||||
// public function connect(string $host, int $port = null, float $timeout = null): bool
|
||||
// {
|
||||
// // TODO: Implement connect() method.
|
||||
// }
|
||||
//
|
||||
// public function send(mixed $data): int|bool
|
||||
// {
|
||||
// // TODO: Implement send() method.
|
||||
// }
|
||||
//
|
||||
// public function recv(int $timeout = null): string|bool
|
||||
// {
|
||||
// // TODO: Implement recv() method.
|
||||
// }
|
||||
//}
|
||||
@@ -1,28 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Utopia\Mongo\Adapter;
|
||||
|
||||
use Utopia\Mongo\Adapter;
|
||||
|
||||
class SwooleCoroutineClient extends Adapter
|
||||
{
|
||||
public function isConnected(): bool
|
||||
{
|
||||
// TODO: Implement isConnected() method.
|
||||
}
|
||||
|
||||
public function connect(string $host, int $port = null, float $timeout = null): bool
|
||||
{
|
||||
// TODO: Implement connect() method.
|
||||
}
|
||||
|
||||
public function send(mixed $data): int|bool
|
||||
{
|
||||
// TODO: Implement send() method.
|
||||
}
|
||||
|
||||
public function recv(int $timeout = null): string|bool
|
||||
{
|
||||
// TODO: Implement recv() method.
|
||||
}
|
||||
}
|
||||
//
|
||||
//namespace Utopia\Mongo\Adapter;
|
||||
//
|
||||
//use Utopia\Mongo\Adapter;
|
||||
//
|
||||
//class SwooleCoroutineClient extends Adapter
|
||||
//{
|
||||
// public function isConnected(): bool
|
||||
// {
|
||||
// // TODO: Implement isConnected() method.
|
||||
// }
|
||||
//
|
||||
// public function connect(string $host, int $port = null, float $timeout = null): bool
|
||||
// {
|
||||
// // TODO: Implement connect() method.
|
||||
// }
|
||||
//
|
||||
// public function send(mixed $data): int|bool
|
||||
// {
|
||||
// // TODO: Implement send() method.
|
||||
// }
|
||||
//
|
||||
// public function recv(int $timeout = null): string|bool
|
||||
// {
|
||||
// // TODO: Implement recv() method.
|
||||
// }
|
||||
//}
|
||||
+4
-4
@@ -128,9 +128,9 @@ class MongoTest extends TestCase
|
||||
self::expectExceptionCode(50);
|
||||
|
||||
$this->getDatabase()->find(
|
||||
'movies',
|
||||
['$where' => 'sleep(1000) || true'],
|
||||
['maxTimeMS'=> 1]
|
||||
)->cursor->firstBatch ?? [];
|
||||
'movies',
|
||||
['$where' => 'sleep(1000) || true'],
|
||||
['maxTimeMS'=> 1]
|
||||
)->cursor->firstBatch ?? [];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user