Skip to content

Conversation

@staudenmeir
Copy link
Contributor

Laravel doesn't have an insertOrIgnore() implementation for SQL Server and so the database store checks the connection class to see if the method can be used. However, the current detection logic doesn't work when the app uses a custom connection class that extends SqlServerConnection (e.g. when a package overrides it). By using instanceof, we also support theses cases.

@MightyPork
Copy link

This same issue occurs for the MongoDB database driver.

mongodb/laravel-mongodb#1815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants