akera-io / loopback-discovery Goto Github PK
View Code? Open in Web Editor NEWDatabase model discovery script for LoopBack
License: MIT License
Database model discovery script for LoopBack
License: MIT License
I am using Ubuntu with mysql, and the tables all start with lowercase and the generator has created them with capitals, and when I went to query through the API it said that it did not exist, I had to manually change.
What do you think about discovery foreign keys ?
I'm on a use case that is a database discovery with relations between tables.
I know there is the discoverForeignKeys method that exist.
Do you ever used it ?
I'm gonna test it, and if you're interested, I can try to integrate in your package.
C:\working\loop>loopback-discovery
? Data sources lis
Cannot read property 'name' of undefined
C:\working\loop>
Great tool!
I observe that the generated model json files have "settings" attribute instead of "options" attribute.
{ "name": "Customer", "properties": { ... }, "settings": { "strict": false, "forceId": false, "replaceOnPUT": true, "idInjection": false, "mysql": { "schema": "my_store", "table": "customer" } } }
I think "settings" should be "options" at least for the version of loopback I'm using (v3).
Is there any way to generate the single-table model?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.