Skip to content

Commit e08f3df

Browse files
remove reference of renameModelFields
1 parent 0863c08 commit e08f3df

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/data/connect-to-existing-data-sources/connect-postgres-mysql-database

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/data/connect-to-existing-data-sources/connect-postgres-mysql-database/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ When deploying your app to production, you need to [add the database connection
201201

202202
## Rename generated models and fields
203203

204-
To improve the ergonomics of your API, you might want to rename the generate fields or types to better accommodate your use case. Use the `renameModels()` and `renameModelFields()` modifiers to rename the auto-inferred data models and their fields.
204+
To improve the ergonomics of your API, you might want to rename the generate fields or types to better accommodate your use case. Use the `renameModels()` modifier to rename the auto-inferred data models.
205205

206206
```ts
207207
// Rename models or fields to be more idiomatic for frontend code

0 commit comments

Comments
 (0)