Where is native DB query
In Hacker News, https://news.ycombinator.com/item?id=7796196, it was said of Loopback:
We allow you to execute native query using dataSource.connector.query(query, params, cb). We're considering to promote it to dataSource level and fully document it.
Is this feature available? Example?
Okay, found it.
Could you tell me how to do that?
#576
thx
I found it.
where is native query?
@likun7981 you can try
dataSource.connector.query(sql, params, cb);
@biliboss thx ,I found it .