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
ActiveRecord::Import::Result.new([], number_of_inserts, [], [])
The text was updated successfully, but these errors were encountered:
@jankmet I'll try to take a look at this in September but unsure SQL Server can easily return created ids.
Sorry, something went wrong.
ActiveRecord::Import (the base gem, used with postgres) also populates the ID field on imported records.
Eg:
new_model = Model.new(attrs) Model.import new_model new_model.id => 3
In SQL Server, the last line will output nil
keeguon
No branches or pull requests
ActiveRecord::Import::Result.new([], number_of_inserts, [], [])
The text was updated successfully, but these errors were encountered: