Home how to rename model in loopback
Reply: 0

how to rename model in loopback

user231
1#
user231 Published in May 27, 2018, 3:37 am

Somebody knows how to rename a model in a query in loopback?, something like this:

inner join table t on t.id = anotherTable.id  // mysql

{
 relation: 'model as newModel', // loopback
}
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.301516 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO