Table column order tag? #345
frederikhors
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'am arranging the hundreds of structs of a project in Go using correct order for the fields.
The only downside is that Bun tables are now created with a different columns order than before. Example:
instead of:
Not that it's a big deal but sometimes it can be useful to have some columns as the ID before all the others.
How about having a json tag for the order?
Beta Was this translation helpful? Give feedback.
All reactions