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

enable query by series on episodes #1

Merged
merged 1 commit into from May 20, 2018

Conversation

Projects
None yet
2 participants
@banjun
Contributor

banjun commented May 20, 2018

ルールのepisodes直下に↓を入れると、クエリでフィルタするのに使えるようなのでいれたいですが、boltの書き方はわかりません😉

 ".indexOn": ["number", "series"],

このときのSwift例、(queryEqualはorderに付随する機能なので、orderを前置しないといけないらしい・・?)

Database.shared.ref.child("episodes").queryOrdered(byChild: "series").queryEqual(toValue: "pripara").observe(.value)
@takanakahiko

This comment has been minimized.

Member

takanakahiko commented May 20, 2018

なんか多分よさそうなのでマージしますのかしこま😉

image

@takanakahiko takanakahiko merged commit 76bc14e into master May 20, 2018

@banjun banjun deleted the episodes-index branch May 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment