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

drivers/pgsql/v2: gf gen dao postgresql not Columns #3757

Closed
wordgao opened this issue Sep 4, 2024 · 0 comments
Closed

drivers/pgsql/v2: gf gen dao postgresql not Columns #3757

wordgao opened this issue Sep 4, 2024 · 0 comments
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.

Comments

@wordgao
Copy link

wordgao commented Sep 4, 2024

Go version

go version go1.23.0 linux/amd64

GoFrame version

2.7.2

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

database:
default:
link: "pgsql:webapp:123456@tcp(127.0.0.1:5432)/webapp"
debug: false

What did you see happen?

d, err := dao.Brands.Ctx(ctx).Fields(dao.Brands).Where(dao.Brands.Columns().**Brand**, s).One()

dao.Brands.Columns().**Brand** not column

What did you expect to see?

dao.Brands.Columns().Brand

@wordgao wordgao added the bug It is confirmed a bug, but don't worry, we'll handle it. label Sep 4, 2024
@wordgao wordgao closed this as completed Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.
Projects
None yet
Development

No branches or pull requests

1 participant