P
Prisma3mo ago
hareshFF

how to make a model with any type

can i have this below mongoose model in prisma
import { Schema, model } from 'mongoose';

const CatalogSchema = new Schema<any>({}, { timestamps: true, strict: false });
const Catalog = model<any>('catalogs', CatalogSchema);

export default Catalog;
import { Schema, model } from 'mongoose';

const CatalogSchema = new Schema<any>({}, { timestamps: true, strict: false });
const Catalog = model<any>('catalogs', CatalogSchema);

export default Catalog;
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server