我的 schema.prisma 檔案 ( https://www.prisma.io/docs/concepts/components/prisma-schema ) 處于基本模式。
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
我也想在這個檔案中使用一些編程支持。它類似于 JSON 檔案,但不完全相同。有沒有人有辦法解決嗎?
uj5u.com熱心網友回復:
emacs-prisma- mode 為 Prisma模式提供了一個 emacs 模式。我在 Prisma 檔案的編輯器設定頁面中找到了它。
這應該是你要找的。
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/329533.html
上一篇:如何在mysql表中添加資料
