To pass view name as paramater #567
Replies: 4 comments 4 replies
-
Hello and welcome to SQLPage ! I am not familiar with the syntax you are using. This seems to be typescript with some decorator library ? Can you tell us a bit more about the context ? About using variables for table names in sqlpage: this is not supported, because it should be avoided. So, in short: if you really insist, you can make this work, but I would strongly recommend against it. If you have a set of views that you want to expose, I would recommend hardcoding their names in your application. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
So I have 100 cards with different views you mean I need to make 100 .sql file ?Is it a pretty good idea? |
Beta Was this translation helpful? Give feedback.
-
Yes it may be 100 or more, for testing purpose I have only displayed some of it. This data are for audit purpose ,so that the auditor can easily check each of the data. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to pass a view name as paramater?The sample code is written below.
I am passing viewname as link from the paranet page and i need to display the content of view.I tried the above way but it is not working.Anyone please help on this.
Beta Was this translation helpful? Give feedback.
All reactions