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

feat(sql_engine): convert bson.ObjectId to string #123

Merged
merged 5 commits into from
Mar 27, 2019
Merged

Conversation

Ryan-Git
Copy link
Collaborator

@Ryan-Git Ryan-Git commented Mar 23, 2019

this closes #122 #110

@Ryan-Git Ryan-Git requested a review from ming535 March 23, 2019 04:20
@@ -167,6 +169,9 @@ func adjustArgs(arg interface{}, column *schema_store.Column) interface{} {
return t.Format("2006-01-02 15:04:05.999999999")
}
}
if bid, ok := arg.(bson.ObjectId); ok {
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add a comment here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@Ryan-Git Ryan-Git merged commit d9c1406 into master Mar 27, 2019
@Ryan-Git Ryan-Git deleted the objectid branch March 27, 2019 02:30
@Ryan-Git Ryan-Git mentioned this pull request Mar 27, 2019
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.

when MongoDB-->TiDB,please support MongoDB‘s _id
2 participants