shadcn-table icon indicating copy to clipboard operation
shadcn-table copied to clipboard

[feat]: Prisma Implementation

Open Qodestackr opened this issue 1 year ago • 4 comments

Feature description

I wanted to request or even help have an implementation that uses Prisma, without too much internal tools to demonstrate this?

Additional Context

Additional details here...

Before submitting

  • [X] I've made research efforts and searched the documentation
  • [X] I've searched for existing issues and PRs

Qodestackr avatar Jun 03 '24 12:06 Qodestackr

writing query for advanced filters in prisma might be difficult

only the query, and zod schema need to be changed tbh for prisma implementation

sadmann7 avatar Oct 24 '24 07:10 sadmann7

writing query for advanced filters in prisma might be difficult

only the query, and zod schema need to be changed tbh for prisma implementation

After some hours i've successfully migrated to prisma, sadly is for a private project, btw this is the code for advanced filter

https://gist.github.com/caiocinel/e282a4c313afec78ea2fa163f948a17e

caiocinel avatar Nov 21 '24 12:11 caiocinel

I have refactored a version of Prisma. It’s not perfect yet (90% complete), but it is functional. I hope it can be helpful. https://github.com/chenz24/shadcn-table

chenz24 avatar Jan 13 '25 01:01 chenz24

@chenz24 thanks for your efforts. what will one need to do to incorporate your version in a next js, prisma, supabase project

nikitph avatar Feb 13 '25 16:02 nikitph