Skip to content

basalt / comments-prisma/src / PrismaCommentStoreOptions

Interface: PrismaCommentStoreOptions ​

Defined in: comments-prisma/src/index.ts:106

Properties ​

columnLimits? ​

> optional columnLimits?: "mysql" | ColumnLimits<{ Comment: CommentColumn; }>

Defined in: comments-prisma/src/index.ts:115

Refuse (throw ColumnLengthError) a value longer than its column instead of letting the database truncate it — on MySQL outside strict mode a long comment is saved cut short and the author is told it was saved. 'mysql' uses the limits of the bundled schema.mysql.prisma; pass an object for a schema of your own. Default: unchecked (PostgreSQL and SQLite store any length).

Released under the MIT License.