Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How could I hide the the id field #3994

Open
duzhipeng opened this issue Apr 2, 2024 · 0 comments
Open

How could I hide the the id field #3994

duzhipeng opened this issue Apr 2, 2024 · 0 comments

Comments

@duzhipeng
Copy link

The id field is builtin in the schema and does not need declaration.
This suits me very well. But I hope not to print out the ID field during printing. That is to say, it will still be automatically generated by the system. I don't need to define it, but I don't need to output the ID field.
The reason is that the self increasing ID field is very useful, but we do not want it to be displayed, and we do not want to infer the business scale based on the value of the self increasing ID.
I think having a configuration switch would be very good. But after carefully reviewing the document, I don't know what to do, or rather, I realize that I still need to define the ID field. Is this the only way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant