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

add methods to access declared indexes #67

Closed
wants to merge 1 commit into from
Closed

add methods to access declared indexes #67

wants to merge 1 commit into from

Conversation

dt
Copy link
Contributor

@dt dt commented May 15, 2015

No description provided.

#if (indexes.nonEmpty)
object indexes {
#for (index <- indexes)
lazy val `${index.replace(": asc", "Asc").replace(": desc", "Desc").replace(",", "").replace(" ", "")}` =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no way this is general enough. we definitely have indexes that look like "user:asc,campaign:asc,state:asc"

@dt dt closed this Dec 18, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants