Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
divyenduz committed Jul 30, 2024
1 parent 04ae6ce commit edb1d42
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion 010-Getting-started/010-what-is-xata.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: What is Xata?
navTitle: What is Xata?
keywords: ['severless', 'data platform', 'PostgreSQL', 'architecture']
keywords: ['serverless', 'data platform', 'PostgreSQL', 'architecture']
description: An overview of Xata, the data platform for PostgreSQL.
slug: concepts/serverless-data-platform
published: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ export default defineConfig({
});
```

With `output` set to `server`, Astro can now read paramaters from the URL. Now, you are ready to add the search functionality. If you like to deploy this project later. Make sure you also add the ssr adaptor parameter `adapter: your adapter here()` as well. Follow the Astro docs for that here: [Astro docs SSR Adapters](https://docs.astro.build/en/guides/server-side-rendering/)
With `output` set to `server`, Astro can now read parameters from the URL. Now, you are ready to add the search functionality. If you like to deploy this project later. Make sure you also add the ssr adaptor parameter `adapter: your adapter here()` as well. Follow the Astro docs for that here: [Astro docs SSR Adapters](https://docs.astro.build/en/guides/server-side-rendering/)

After we added our adapter, the above code would then go as follows with the adapter added:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ When you insert data into a Xata database, it is automatically indexed for full-
any configuration to enable search, just need to use the
[TypeScript SDK search feature](/docs/sdk/search).

Aadd this functionality to `/api/posts` API server route:
Add this functionality to `/api/posts` API server route:

```tsx title="server/api/posts.ts" {5-13}
import { getXataClient } from '../../src/xata';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ export async function loader({ params }: LoaderFunctionArgs) {
```
<Alert status="warning">
In case you encounter a `"Runtime.UnhandledPromiseRejection"` when deploying the Remix app, try passing the Remix fetch implenentation to the XataClient.
In case you encounter a `"Runtime.UnhandledPromiseRejection"` when deploying the Remix app, try passing the Remix fetch implementation to the XataClient.
```ts
import { fetch as webFetch } from "@remix-run/web-fetch";
import { XataClient } from "src/xata";
Expand Down
4 changes: 2 additions & 2 deletions 020-Connect/030-Python/010-xata-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ from xata.helpers import BulkProcessor
client = XataClient()
bp = BulkProcessor(client)

# Sub to a queue and continously read messages
# Sub to a queue and continuously read messages
while queue.subscribed():
msg = queue.read()

Expand Down Expand Up @@ -760,7 +760,7 @@ changed to a more concise call in `1.x`:
lst = xata.databases().list()
```

Continously the function arguments are also converted to the pep-8 standard, lowercased and separated by an underscore, `SessionId` becomes `session_id`.
Continuously the function arguments are also converted to the pep-8 standard, lowercased and separated by an underscore, `SessionId` becomes `session_id`.

### Error Handling

Expand Down
2 changes: 1 addition & 1 deletion 020-Connect/030-Python/120-pg8000.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The [pg8000](https://pypi.org/project/pg8000/) driver comes with different API's
Both API's use the parameterized approach to define the connection parameters.
Please replace the placeholders in the connection string or parameters, as indicated on the [connect to Postgres](/docs/postgres) page.

pg8000 does not default to encrypted connections out of the box, and as Xata rejects all [not encyrpted connections](/docs/postgres#sslmode), you need to specify the SSL context.
pg8000 does not default to encrypted connections out of the box, and as Xata rejects all [not encryrpted connections](/docs/postgres#sslmode), you need to specify the SSL context.
This is done by adding the `ssl_context=True` in the connection parameters.
The following examples both demonstrate this.

Expand Down
2 changes: 1 addition & 1 deletion 050-Manage/040-pr-based-workflow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ The GitHub integration will output errors if your migration files are out of syn

Since the `.xata/migrations` folder is simply a code-based ledger of the content we keep on the server, you can always delete the folder and rerun `xata pull my_feature` to rebuild it. Then recommit your files to GitHub and check the results.

If you've already run `xata pull` and committed it, but you are still recieving errors from our app in GitHub, try manually deleting the `preview-my_feature` database branch within the Xata UI. Your next commit to GitHub should create a new, working preview branch from your migration files.
If you've already run `xata pull` and committed it, but you are still receiving errors from our app in GitHub, try manually deleting the `preview-my_feature` database branch within the Xata UI. Your next commit to GitHub should create a new, working preview branch from your migration files.

## Limitations

Expand Down
2 changes: 1 addition & 1 deletion 070-Integrations/005-csv.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Choose a format that matches the data you're entering. Xata columns support the
| Datetime | Date and time information. Our CSV importer will attempt to parse all common datetimes | `2023-08-30T00:00:00.000Z` or `26-02-88` or any other date format |
| Link to Table | ID of a record in another table | `rec_xyz` or `usr_xyz`if using custom IDs |
| Email | Email addresses | `user@example.com` |
| Multiple | Multiple values seperated by a comma or a JSON array | `Red,Green` or `["Red", "Green"]` |
| Multiple | Multiple values separated by a comma or a JSON array | `Red,Green` or `["Red", "Green"]` |
| File | Not supported | |
| Vector | Not supported | |

Expand Down
2 changes: 1 addition & 1 deletion 070-Integrations/010-airbyte.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Airbyte with Xata
navTitle: Airbyte
keywords: ['airbyte', 'migrate data']
description: Use Xata with Airbyte, the integration platform that enables efficent data management from multiple sources
description: Use Xata with Airbyte, the integration platform that enables efficient data management from multiple sources
slug: integrations/airbyte
published: true
status: beta
Expand Down

0 comments on commit edb1d42

Please sign in to comment.