Comments (5)
@ataft, thanks for the suggestion. Your proposal sounds reasonable to me. It's important for us to keep the backward compatibility. @jannyHou, what do you think? Thanks.
from loopback-connector-mssql.
@ataft Thank you for the suggestion and investigation made. 👍
I'd make the PR and clearly it wouldn't affect any users.
And we really appreciate your help on the the code contribution 👍, will review it when ready.
Changing the returned data of executeSQL
would affect all CRUD queries, if you only want to configure the result of a native query, I think you need to make the option
turned off by default. And better disable it for the built-in CRUD queries.
I checked the sqlServer query runner in TypeORM, and find they also returns the result.recordset
by default, sometimes returns the result.affectedRows
. Just curious...could you explain more about when the raw data is needed?
from loopback-connector-mssql.
Maybe the term "raw data" is confusing. I mean return whatever object the mssql library returns. The use case is to get rowsAffected
or any of the other results:
https://github.com/tediousjs/node-mssql#execute-procedure-callback
Yes, it would clearly be off by default.
from loopback-connector-mssql.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from loopback-connector-mssql.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
from loopback-connector-mssql.
Related Issues (20)
- tedious type deprecation messages in console HOT 2
- query the table using rowversion HOT 2
- AutoUpdate needs to have order when executing index related operations HOT 2
- Loopback 4 relations compatibility HOT 15
- applyPagination is missing the ORDER BY clause when supportsOffsetFetch HOT 2
- loopback 4 model options not working for mssql HOT 5
- MsSQL not exported in loopback-connector-mssql HOT 7
- Incorrect Table Relations Discovery HOT 5
- Relations not working in loopback 4 using mysql database How to solve it HOT 3
- Run shared tests from both v3 and v4 of juggler
- Transaction not working in Loopback 4. HOT 2
- New release? HOT 2
- Loopback 4 Transaction returning undefined. HOT 8
- EPERM on version 3.7.0
- EPERM in version 3.7.0, error related to adal node package HOT 22
- Loopback 4 can not parsing javascript Date Object to native SQL statement which require Date parameter HOT 1
- migrate script not supports custom column names
- Having CVE in the current version. can you please update to latest version of mssql and loopback-connector HOT 1
- Like operator not working when trying to fetch stringify array of objects or object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loopback-connector-mssql.