loopbackjs Questions

1

Solved

How can I delete a model in strongloop's loopback.io? I have seen somewhere command called persistedModel.destroy() but when I exectute slc persistedModel.destroy() I get command not found erro...
Marconigraph asked 14/2, 2015 at 6:8

2

Solved

I've been working on this for hours and I'm completely lost, because the loopback documentation is not helpful. I'm trying to write application logic into a model. The documentation for that is he...
Dineen asked 27/1, 2015 at 19:16

1

Solved

I'm using Loopback from Strongloop as a REST framework and ORM. I want to use TypeScript for my business logic. However, Loopback requires JavaScript with a specific shape to support their framewor...
Cranmer asked 19/12, 2014 at 19:48

2

Solved

How is it possible to execute raw query and expose results through REST API with strongloop? I've read something about using hooks and dataSource.connector.query() but I cannot find any working ex...
Conference asked 18/11, 2014 at 16:36

2

I want to specify the relationship betweet 2 mssql tables. Paymentcategory and Payout. paymentcategory.id joins on the payout.category column. in payout.json model I specified as foreignKey: id, ...
Baluchistan asked 7/11, 2014 at 13:12

2

Solved

I'm using LoopBack ver. 1.6 and have a local mongoDB server running for development using he following datasource configuration: "mongodb": { "defaultForType": "mongodb", "connector": "loopback...
Friedrich asked 8/2, 2014 at 20:39

1

I am looking for a way to include the result of a remote method when I make a query. For example: I am querying Customer models. To include a related model you would use the include filter { filte...
Orthodontia asked 8/9, 2014 at 20:3

2

Solved

Im trying to list all the Users in my loopback 2.0 app using the REST API and I'm getting the following error: { "error": { "name": "Error", "status": 401, "message": "Authorization Required",...
Downcome asked 17/8, 2014 at 21:2

2

Solved

I am trying to set-up some basic scenarios and use LoopBack to find out its actual level of flexibility and usability. One of them is the necessity to modify the value of some attributes in result...
Helmut asked 12/7, 2014 at 13:32

1

Solved

I'd like to encrypt fields similar to this example with mongoose: https://gist.github.com/kljensen/7505729 The code in the above link maps a field to a custom decrypt() function for get and an enc...
Comprehend asked 14/6, 2014 at 19:10

1

I'm making an angular application with strongloop loopback backend. Also I integrating a third party login by facebook using loopback-passport module. everything was fine in loopback-example-pass...
Dense asked 13/6, 2014 at 21:4

4

Solved

We have monetizable Mobile Application Idea, and will be building our first mobile Hybrid application. I looked into few things and figured out that to achieve my end-to-end goal I would ne...
Tasteful asked 4/3, 2014 at 9:51

3

Solved

I struggling to decipher the documentation on creating a user with an acl role. I'd like to create 2 roles "admin" and "user" similar to what the documentation states. However, I cannot find the AP...
Annelid asked 5/5, 2014 at 0:38

2

Solved

I'm currently running two StrongLoop LoopBack apps (Nodejs apps) on a single server with different ports. Both apps were created using slc lb project and slc lb model from the command line. Is it...
Gredel asked 27/3, 2014 at 4:35

1

Solved

I want to call URL with special charecters in query parameter using Restangular customGET method. I am using Loopback for my API, which uses square brackets for query. It seems it's not allowed in ...
Sami asked 24/1, 2014 at 19:57

© 2022 - 2024 — McMap. All rights reserved.