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

如何查询某个bucket的全部数据 #110

Closed
hanjiangjiaolong opened this issue Apr 30, 2020 · 1 comment
Closed

如何查询某个bucket的全部数据 #110

hanjiangjiaolong opened this issue Apr 30, 2020 · 1 comment
Labels

Comments

@hanjiangjiaolong
Copy link

如何查询某个bucket的全部数据

@timshannon
Copy link
Owner

A bucket gets created for each Go type you insert into Bolthold. If you want to return all records in the bucket you can pass in a nil query.

store.Find(&result, nil)

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

No branches or pull requests

2 participants