How do I use gorm to define a many2many field so that Dashpress can display the many2many field and manipulate it? #73
Replies: 1 comment
-
Sorry for the delay in response, I thought I had already responded to this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I encountered a problem when using dashprss, which is as follows:
I'm using GORM in Go to connect to PostgreSQL and create tables using structs. Here's the specific code:
then I use dashpress to manage my data,but the web not show many2many filed? why???
![image](https://private-user-images.githubusercontent.com/18185326/333885552-032ed386-42e5-416b-993b-1068e127bead.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NTk4NzAsIm5iZiI6MTczOTQ1OTU3MCwicGF0aCI6Ii8xODE4NTMyNi8zMzM4ODU1NTItMDMyZWQzODYtNDJlNS00MTZiLTk5M2ItMTA2OGUxMjdiZWFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE1MTI1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzZTU4OTg2NDRhMTAzNjQ2ZGYxNzcxZDQ4MGE0MDAxN2I0NjhiN2E0NDdkZWZkMjVkNjUzNjk4ODA1OGM4YWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QCe7FPmJeQjgPzEqnbSHAAN8l_4u0C4SxogdfZhoy98)
How do I use gorm to define a many2many field so that Dashpress can display the many2many field and manipulate it?
Beta Was this translation helpful? Give feedback.
All reactions