-
Notifications
You must be signed in to change notification settings - Fork 0
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
Basic table introspection #63
Conversation
@@ -0,0 +1,245 @@ | |||
//! Configuration and state for our connector. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved from src/configuration.rs
pub async fn configure( | ||
configuration: &RawConfiguration, | ||
) -> Result<RawConfiguration, connector::UpdateConfigurationError> { | ||
let mssql_pool = create_mssql_pool(configuration).await.unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes start in here.
da9f485
to
92e2421
Compare
@@ -0,0 +1,210 @@ | |||
//! Implement the `/schema` endpoint to return the connector's schema. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy pasta'd entirely from ndc-postgres
bbf13d2
to
0705070
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks plausible
What
This implements the most basic table introspection. We use the SQL from HGE, and keep the
metadata
types the same asndc-postgres
.How