-
I am trying to sync a postgresdb with my models, using this code:
```
ds = loopback.datasources['myDS'];
ds.autoupdate((err) => {
});
```
however, when I do, I get the error
```
"error": {
"na…
-
``` javascript
{
"error": {
"name": "RequestError",
"status": 500,
"message": "The target table 'dbo.tableName' of the DML statement cannot have any enabled triggers if the statement con…
-
_From @ilianaza on March 16, 2015 23:34_
I've upgraded different loopback packages:
```
"loopback": "^2.13.0" -> "loopback": "^2.14.0"
"loopback-component-storage": "~1.3.0" -> "loopback-compone…
-
Hi,
Just started using loopback and was wondering:
Can foreign keys be nested in a mongo document?
For example, can you have
```
{
"name": "supplier",
...
"relations": {
"supplier_acct": {
…
-
I am trying to create a bigint(20) auto increment PK. But it seems that does not support auto increment if it is not default PK dataType.
Model properties:
```
"properties": {
"id": {
"t…
-
Assume there are two models Account and Listing. I want to pull accounts with 5 listings from each account. When make a REST call as follows:
``` javascript
Account.find({
where:{
state…
-
- [ ] Finalize initial content at https://github.com/strongloop/loopback-next/wiki/Connector
-
`DataAccessObject.find` is long spaghetti code we need to refactor this method and split it into smaller chunks.
-
Document https://github.com/strongloop/loopback-connector-mysql/pull/202 after landing.
Should be documented here: http://loopback.io/doc/en/lb2/MySQL-connector.html#type-mappings
-
When i use the $nearSphere criteria, the default order on id overwrite the location order :(
Here :
https://github.com/strongloop/loopback-connector-mongodb/blob/master/lib/mongodb.js#L653
kwiky updated
7 years ago