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

https://github.com/smallnest/gen/issues/17 #23

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

ghstahl
Copy link
Contributor

@ghstahl ghstahl commented Nov 4, 2019

was fixed in the following
jimsmart/schema#6

This is pulling the latest
github.com/jimsmart/schema v0.0.0-20191104172732-39e4bec5335f
which has the mssql.Driver mapped in.

Further testing showed that there seems to be a difference between how mssql accepts a table from in the FROM statement.

i.e. FROM Vehicle and NOT FROM `Vehicle`

jimsmart/schema#10

To be backwards compatible with the jimsmart/schema library I am passing in the right table format based on the sqlType

was fixed in the following
jimsmart/schema#6

This is pulling the latest
	github.com/jimsmart/schema v0.0.0-20191104172732-39e4bec5335f
which has the mssql.Driver mapped in.

Further testing showed that there seems to be a difference between how mssql accepts a table from in the FROM statement.
i.e. FROM Vehicle and NOT FROM `Vehicle`

jimsmart/schema#10

To be backwards compatible with the jimsmart/schema library I am passing in the right table format based on the sqlType
@smallnest smallnest merged commit d7117c9 into smallnest:master Nov 4, 2019
@jimsmart
Copy link

jimsmart commented Nov 5, 2019

The related issue, jimsmart/schema#10 has now been addressed, and v0.0.3 contains this fix.

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

3 participants