@@ -66,6 +66,9 @@ discard block |
||
66 | 66 | return $this->get(Mapper::class); |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @param string $space |
|
71 | + */ |
|
69 | 72 | protected function getRepository($space) |
70 | 73 | { |
71 | 74 | if (strpos($space, '.') !== false) { |
@@ -100,6 +103,9 @@ discard block |
||
100 | 103 | return $this->getRepository($space)->remove($params); |
101 | 104 | } |
102 | 105 | |
106 | + /** |
|
107 | + * @param string $fields |
|
108 | + */ |
|
103 | 109 | protected function select($fields, string $table, array $params) |
104 | 110 | { |
105 | 111 | return $this->get(Clickhouse::class)->select($fields, $table, $params); |
@@ -110,6 +116,9 @@ discard block |
||
110 | 116 | return $this->get(Clickhouse::class)->insert($table, $data, $headers); |
111 | 117 | } |
112 | 118 | |
119 | + /** |
|
120 | + * @param string $contents |
|
121 | + */ |
|
113 | 122 | protected function upload(string $filename, $contents) : string |
114 | 123 | { |
115 | 124 | return $this->get(Storage::class)->upload($filename, $contents); |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Basis; |
4 | 4 | |
5 | -use Tarantool\Mapper\Entity; |
|
6 | 5 | use Tarantool\Mapper\Mapper; |
7 | 6 | use Tarantool\Mapper\Pool; |
8 | 7 | use Tarantool\Queue\Queue; |