activerecord-sqlserver-adapter icon indicating copy to clipboard operation
activerecord-sqlserver-adapter copied to clipboard

Add documentation for when and why to turn on or off use_output_inserted

Open gisborne opened this issue 4 years ago • 2 comments
trafficstars

I can't see the downside to using OUTPUT INSERTED.

The option to turn this off exists, but there is no explanation I can find about when and why one would want to use this.

Suggest something be added to the README about this.

gisborne avatar Aug 05 '21 20:08 gisborne

There's already something in the README explaining why you might need to turn it off: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter#identity-inserts-with-triggers.

What exactly should be added or what do you think should be improved?

wpolicarpo avatar Aug 06 '21 22:08 wpolicarpo

use_output_inserted appears nowhere on that page. On Aug 6, 2021, 15:23 -0700, Wanderson Policarpo @.***>, wrote:

There's already something in the README explaining why you might need to turn it off: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter#identity-inserts-with-triggers. What exactly should be added or what do you think should be improved? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

gisborne avatar Aug 06 '21 22:08 gisborne