diff --git a/apps/docs/content/docs/orm/prisma-client/using-raw-sql/typedsql.mdx b/apps/docs/content/docs/orm/prisma-client/using-raw-sql/typedsql.mdx index f31b225264..2fe2aa0bf3 100644 --- a/apps/docs/content/docs/orm/prisma-client/using-raw-sql/typedsql.mdx +++ b/apps/docs/content/docs/orm/prisma-client/using-raw-sql/typedsql.mdx @@ -242,7 +242,7 @@ TypedSQL requires an active database connection to function properly. This means ### Dynamic SQL Queries with Dynamic Columns -TypedSQL does not natively support constructing SQL queries with dynamically added columns. When you need to create a query where the columns are determined at runtime, you must use the `$queryRaw` and `$executeRaw` methods. These methods allow for the execution of raw SQL, which can include dynamic column selections. +TypedSQL does not natively support constructing SQL queries with dynamically added columns. When you need to create a query where the columns are determined at runtime, you must use the `$queryRawUnsafe` and `$executeRawUnsafe` methods. These methods allow for the execution of raw SQL, which can include dynamic column selections. **Example of a query using dynamic column selection:** diff --git a/apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/typedsql.mdx b/apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/typedsql.mdx index 16eaa705d5..39ff178e4f 100644 --- a/apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/typedsql.mdx +++ b/apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/typedsql.mdx @@ -245,7 +245,7 @@ TypedSQL requires an active database connection to function properly. This means ### Dynamic SQL Queries with Dynamic Columns -TypedSQL does not natively support constructing SQL queries with dynamically added columns. When you need to create a query where the columns are determined at runtime, you must use the `$queryRaw` and `$executeRaw` methods. These methods allow for the execution of raw SQL, which can include dynamic column selections. +TypedSQL does not natively support constructing SQL queries with dynamically added columns. When you need to create a query where the columns are determined at runtime, you must use the `$queryRawUnsafe` and `$executeRawUnsafe` methods. These methods allow for the execution of raw SQL, which can include dynamic column selections. **Example of a query using dynamic column selection:**