@xata.io/client 0.20.0 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1155,7 +1155,7 @@ declare type MigrationRequest = {
1155
1155
  * Timestamp when the migration request was merged.
1156
1156
  */
1157
1157
  mergedAt?: DateTime;
1158
- status?: 'open' | 'closed' | 'merging' | 'merged';
1158
+ status?: 'open' | 'closed' | 'merging' | 'merged' | 'failed';
1159
1159
  /**
1160
1160
  * The migration request title.
1161
1161
  */
@@ -3752,6 +3752,8 @@ declare type QueryTableVariables = {
3752
3752
  * }
3753
3753
  * ```
3754
3754
  *
3755
+ * For usage, see also the [API Guide](https://xata.io/docs/api-guide/get).
3756
+ *
3755
3757
  * ### Column selection
3756
3758
  *
3757
3759
  * If the `columns` array is not specified, all columns are included. For link
@@ -4123,9 +4125,8 @@ declare type QueryTableVariables = {
4123
4125
  *
4124
4126
  * #### Partial match
4125
4127
  *
4126
- * `$contains` is the simplest operator for partial matching. We should generally
4127
- * discourage overusing `$contains` because it typically can't make use of
4128
- * indices.
4128
+ * `$contains` is the simplest operator for partial matching. Note that `$contains` operator can
4129
+ * cause performance issues at scale, because indices cannot be used.
4129
4130
  *
4130
4131
  * ```json
4131
4132
  * {
@@ -4155,7 +4156,7 @@ declare type QueryTableVariables = {
4155
4156
  *
4156
4157
  * If you want to match a string that contains a wildcard character, you can escape them using a backslash (`\`). You can escape a backslash by usign another backslash.
4157
4158
  *
4158
- * We could also have `$endsWith` and `$startsWith` operators:
4159
+ * You can also use the `$endsWith` and `$startsWith` operators:
4159
4160
  *
4160
4161
  * ```json
4161
4162
  * {
@@ -4712,6 +4713,8 @@ declare type AggregateTableVariables = {
4712
4713
  * only eventually consistent. On the other hand, the aggregate endpoint uses a
4713
4714
  * store that is more appropiate for analytics, makes use of approximative algorithms
4714
4715
  * (e.g for cardinality), and is generally faster and can do more complex aggregations.
4716
+ *
4717
+ * For usage, see the [API Guide](https://xata.io/docs/api-guide/aggregate).
4715
4718
  */
4716
4719
  declare const aggregateTable: (variables: AggregateTableVariables, signal?: AbortSignal) => Promise<AggResponse>;
4717
4720
 
package/dist/index.mjs CHANGED
@@ -183,7 +183,7 @@ function getFetchImplementation(userFetch) {
183
183
  return fetchImpl;
184
184
  }
185
185
 
186
- const VERSION = "0.20.0";
186
+ const VERSION = "0.20.1";
187
187
 
188
188
  class ErrorWithCause extends Error {
189
189
  constructor(message, options) {