We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
InfluxDbQuery
This issue captures some discussion from #21
@pcpthm and @Drevoed suggest refactoring the query to something like this, removing the InfluxDbQuery trait and instead turning that into an Enum.
pub enum InfluxDbQuery { Write(InfluxDbWriteQuery), Read(InfluxDbReadQuery) } impl InfluxDbQuery { pub fn build(&self) -> Result<ValidQuery, InfluxDbError> { use InfluxDbQuery::*; match self { Write(write_query) => write_query.build(), Read(read_query) => read_query.build() } } }
The text was updated successfully, but these errors were encountered:
Empty2k12
No branches or pull requests
This issue captures some discussion from #21
@pcpthm and @Drevoed suggest refactoring the query to something like this, removing the InfluxDbQuery trait and instead turning that into an Enum.
The text was updated successfully, but these errors were encountered: