i want to update 4 table withlinq 2 sql and use transection. aftre cummit all command, the DataContext dont update with new data. but all data save in database.
i need to refresh DataContext after subchange commands. any body can help me?
Related
I have this problem when trying to edit database I cannot do it,
after generate fake data then type python3 editable_table.py
I cannot edit any row of data. Is there a way to add CRUD feature? so I can edit the data, delete it, update it.
This is the source code:
https://github.com/glanzkaiser/Nemiel
How can I handle insert update in Oracle Apex interactive grid with more than one table which is attached with inner join. If anyone have solution please reply.
The source of the IG can be a query or a view on top of multiple tables. Basically this is the rule: if you can execute the update statement in sql on the source then the IG will be able to do it as well.
So it's easy to display some extra columns from another table - updating them will be a challenge. There are 2 workarounds
Create a view with an instead of trigger
Use custom pl/sql code to process the IG data on submit instead of the native process
On quicksight I have a dashboard, using direct query, connect to a table on data catalog
I have a "continent" field and I use a controller to filter the data, however, after update that field with new data and updated the dataset, the controller keep showing the old data...
The data shows as it should on Athena and the other charts but even if I create a new controller it keeps showing only the older data.
I appreciate in advance for all the help.
hello guys so i made this website that intergrate with my router to manage the user inside it,but i have this question i want to ask
so my website only visualise the data that it got from the router and i have this voucher system to give out voucher to the user
to access the network as right now i save this voucher in my database but due to each of the voucher data that it i save to the database and from the database it display to the web, it all from data that it got from the router<-- and here
come the problem is that the data is not valid because if the admin access the router and delete one of the voucher profile it will cause and error,because the voucher in database is been deleted from the router,
is there any way i can do this so that i dont need to use database to save this? thanks
you can try storing it in files. but its not reliable, and not as efficient as storing in database. its also not ass fast. it takes more time to update file than update database. so db is your best and only option.
I am using Power BI API.
I've got a dataset with some tables and rows.
From Power BI API Console I don't have any issue when retrieving datasets or tables.
However the PUT verb on a table resource to update its schema always returns a 504 - Proxy request timed out
It's the first time I use Apiary IO so it might be its problem and not Power BI update, but that leads me to some questions:
Is there any workaround to test Power BI with, for example, Fiddler? I can type the url and body but I will need an Authorization header with the OAuth2 token if I'm not mistaken. How can I get that? ApiaryIO seems to hide it.
As per Update Schema Documentation the URL with the resource is https://api.powerbi.com/v1.0/myorg/datasets/{myDatasetId}/tables/{myTableName}
and the verb is a PUT. What is then the meaning of the "name": "???" parameter that goes in the JSON body? Is it the table's name or something else? I am assuming it's the table name but it seems redundant as I am already accessing the resource {myTableName} as per the given URL.
And my last related question is how to rename a specific table's column without modifying its data? This is what I'm trying to achieve by updating the schema but I don't understand how does Power BI know what column I am trying to rename.
Thank you!
Sorry that you're having trouble. You can get a token in two ways -the right way is to create an app in AAD (here's how). The wrong way ;) is to open the Power BI.com service, in a browser then open fiddler, then press F5 to reload. You should be able to see the Access Token in various requests. If you register an app, you can plug in your App's information in one of the samples we have https://powerbi.microsoft.com/developers, see client app or web app.
The name you provide in the table is the friendly human readable name that appears in the UI when you're building a report. Without it the system is unusable by humans :).
Let me get back to you on #3.
Calling PUT table will attempt to save upgrade the table without loosing any data (unless you removed columns). If it can't, it will return a conflict error. If you still want to update the table schema, you would have to delete the rows and call PUT table again. There is currently no direct way to rename a column. PUT table would treat it like a delete and add for that column. You would loose the data in that column but not the whole table.