totaljs / framework

Node.js framework
http://www.totaljs.com
Other
4.36k stars 450 forks source link

How to use the option in schema? #588

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi I generate a model in designer. When I call my controller i have an issue with option. Option is not defined ! Do you have an example how to use the option in the model ?

petersirka commented 6 years ago

Hi @twisig, can you show me your model?

ghost commented 6 years ago

Sorry Peter for the delay. You can generate a simple table in Total.js Désigner and you can see the parameter ´Option’. How to use that ?