diff --git a/content/200-orm/500-reference/325-prisma-config-reference.mdx b/content/200-orm/500-reference/325-prisma-config-reference.mdx index f8bffe5d73..73d50374ad 100644 --- a/content/200-orm/500-reference/325-prisma-config-reference.mdx +++ b/content/200-orm/500-reference/325-prisma-config-reference.mdx @@ -55,11 +55,12 @@ Here is a simplified version of the `PrismaConfig` type: ```ts export declare type PrismaConfig = { + // Whether features with an unstable API are enabled. experimental: { - adapter: true, - externalTables: true, - studio: true, + adapter: boolean; + externalTables: boolean; + studio: boolean; }, // The path to the schema file, or path to a folder that shall be recursively searched for *.prisma files. @@ -68,7 +69,7 @@ export declare type PrismaConfig = { // The Driver Adapter used for Prisma CLI. adapter?: () => Promise; - // The configuration for Prisma Studio. + // Configuration for Prisma Studio. studio?: { adapter: () => Promise; }; @@ -89,6 +90,7 @@ export declare type PrismaConfig = { typedSql?: { path: string; }; + }; ``` @@ -486,4 +488,4 @@ You can specify a custom location for your config file when running Prisma CLI c ```terminal prisma validate --config ./path/to/myconfig.ts -``` +``` \ No newline at end of file diff --git a/content/250-postgres/100-introduction/200-getting-started.mdx b/content/250-postgres/100-introduction/200-getting-started.mdx index c9a59e48b3..ac3fc926fd 100644 --- a/content/250-postgres/100-introduction/200-getting-started.mdx +++ b/content/250-postgres/100-introduction/200-getting-started.mdx @@ -54,12 +54,11 @@ prisma generate --no-engine You can access Prisma Postgres with any ORM or database tool of your choice via [direct TCP connections](/postgres/database/direct-connections). In order to get a direct TCP connection string, you need to: -1. open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one) -1. navigate to a environment with an active Prisma Postgres instance -1. click the **API Keys** tab in the project's sidenav -1. click the **Create API key** button -1. in the popup, provide a **Name** for the API key and click **Create** -1. copy the connection string starting with `postgres://`, this is your direct TCP connection string +1. Navigate to your active Prisma Postgres instance. +1. Click the **API Keys** tab in the project's sidenav. +1. Click the **Create API key** button. +1. In the popup, provide a **Name** for the API key and click **Create**. +1. Copy the connection string starting with `postgres://`, this is your direct connection string. Once you have the connection string, you can follow the setup docs for PostgreSQL of any ORM or database tool: diff --git a/content/250-postgres/100-introduction/250-overview.mdx b/content/250-postgres/100-introduction/250-overview.mdx index 6ba64123e0..e3d8035024 100644 --- a/content/250-postgres/100-introduction/250-overview.mdx +++ b/content/250-postgres/100-introduction/250-overview.mdx @@ -11,8 +11,21 @@ toc: true It supports the following workflows: -- Schema migrations and queries (via [Prisma ORM](https://www.prisma.io/orm)) +- Schema migrations and queries (via [Prisma ORM](https://www.prisma.io/orm) or any other ORM/database library) - Connection pooling and caching (via [Prisma Accelerate](https://www.prisma.io/accelerate)) +- Local database workflows via [`prisma dev`](/postgres/database/local-development) + +## Usage metrics + +You can view the following usage metrics in your Console Dashboard: + +- Key metrics + - Estimated upcoming invoice + - Total storage used + - Total DBs +- Overall usage + - Cumulative operations + - Operations per day ## Billing diff --git a/content/250-postgres/300-database/650-direct-connections.mdx b/content/250-postgres/300-database/650-direct-connections.mdx index c74f0e37aa..d020e30f5b 100644 --- a/content/250-postgres/300-database/650-direct-connections.mdx +++ b/content/250-postgres/300-database/650-direct-connections.mdx @@ -4,7 +4,6 @@ metaTitle: "Direct connections (TCP)" metaDescription: "Learn about connecting directly to your Prisma Postgres database via direct TCP." tocDepth: 3 toc: true -sidebar_class_name: preview-badge --- ## Overview @@ -18,11 +17,11 @@ If you connect to it via another tool, you can do so with a [direct connection s In order to get a direct connection string, you need to: 1. Open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one) -1. Navigate to a environment with an active Prisma Postgres instance -1. Click the **API Keys** tab in the project's sidenav -1. Click the **Create API key** button -1. In the popup, provide a **Name** for the API key and click **Create** -1. Copy the connection string starting with `postgres://`, this is your direct connection string +1. Navigate to your active Prisma Postgres instance. +1. Click the **API Keys** tab in the project's sidenav. +1. Click the **Create API key** button. +1. In the popup, provide a **Name** for the API key and click **Create**. +1. Copy the connection string starting with `postgres://`, this is your direct connection string. ## Connection string