File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ Here are some examples that walk you through how to use the client: [doc/example
2121## Compatibility
2222
2323| Typesense Server | typesense-php |
24- | ------------------| ----------------|
25- | \> = v0.21.0 | \> = v4.7.0 |
26- | \> = v0.20.0 | \> = v4.6.0 |
27- | \> = v0.19.0 | \> = v4.5.0 |
28- | \> = v0.18.0 | \> = v4.4.0 |
29- | \> = v0.17.0 | \> = v4.2.0 |
30- | \> = v0.16.0 | \> = v4.1.0 |
31- | \> = v0.15.0 | \> = v4.0.0 |
24+ | ------------------| ---------------|
25+ | \> = v0.23.0 | \> = v4.8.0 |
26+ | \> = v0.21.0 | \> = v4.7.0 |
27+ | \> = v0.20.0 | \> = v4.6.0 |
28+ | \> = v0.19.0 | \> = v4.5.0 |
29+ | \> = v0.18.0 | \> = v4.4.0 |
30+ | \> = v0.17.0 | \> = v4.2.0 |
31+ | \> = v0.16.0 | \> = v4.1.0 |
32+ | \> = v0.15.0 | \> = v4.0.0 |
3233
3334## Contributing
3435
Original file line number Diff line number Diff line change @@ -96,6 +96,17 @@ public function retrieve(): array
9696 return $ this ->apiCall ->get ($ this ->endPointPath (), []);
9797 }
9898
99+ /**
100+ * @param array $schema
101+ *
102+ * @return array
103+ * @throws TypesenseClientError|HttpClientException
104+ */
105+ public function update (array $ schema ): array
106+ {
107+ return $ this ->apiCall ->patch ($ this ->endPointPath (), $ schema );
108+ }
109+
99110 /**
100111 * @return array
101112 * @throws TypesenseClientError|HttpClientException
You can’t perform that action at this time.
0 commit comments