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

doc request: add example of LowCardinality usage to example.go #436

Open
karelbilek opened this issue Oct 21, 2024 · 2 comments
Open

doc request: add example of LowCardinality usage to example.go #436

karelbilek opened this issue Oct 21, 2024 · 2 comments

Comments

@karelbilek
Copy link

I want to use ch-go to insert data with LowCardinality type.

I don't see any example how to do that. It would be enough to have that in the example.go.

@karelbilek
Copy link
Author

What I did was to do

foo := (&proto.ColStr{}).LowCardinality()

That seems to have worked?

@zdyj3170101136
Copy link
Contributor

var timestamp = new(chproto.ColDateTime).LowCardinality()

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

2 participants