Posts by HudsonPH • 2,492 points
108 posts
-
0
votes4
answers453
viewsA: Table change constraint with subquery
In short Join is the most "current" method, the difference is that the join has much more timing and speed than subquery. A LEFT [OUTER] JOIN can be Faster than an equivalent subquery because the…
-
0
votes3
answers852
viewsA: Web Security api: SSL?
I wonder if you have how to restrict requests to a web api specifically for a machine Answer: Token per user My recommendation: jwtSecurityTokenHandler, And to have total control Voce needs to…
-
2
votes1
answer85
viewsA: Doubt with Rest service and with put verb
When I go to do my update(put verb) I need to load all the property or just the one I’ll update? No, Voce can charge only what Voce will use. [Route("atualiza/{id}/{value1}/{value2}")] public void…
-
0
votes2
answers98
viewsA: Read HTML inside a Sweetalert plugin confirmButtonText
I believe that’s what you want, the tag <small> will not work because sweetAlert does not support html. swal("Mensagem", { icon: "warning", buttons: { btn1: "Confirmar exclusão (Essa ação não…
-
0
votes1
answer43
viewsA: How to get the result value of divValue. result[2] in the mvc controller?
2 errors: First there is no div with id = divValor.result[2], This label is used for all values. Second mistake result[n] needs to be inside the function success: function (result) var Valor;…
-
0
votes1
answer164
viewsA: Does the r+ C mode for files not create the file if it does not exist?
"r+" Opens the file for reading and updating "w+" Open the file to write and update, if the file does not exist it creates. Reference: http://www.cplusplus.com/reference/cstdio/fopen/…
-
4
votes1
answer118
viewsA: How do I get the name of a callback function in javascript?
To access the name: callback.name function ola() { console.log("Olá =)"); } function executar(callback) { console.log(callback.name); callback(); } executar(ola);…
javascriptanswered HudsonPH 2,492 -
-2
votes2
answers360
viewsA: How to convert a date (string) to another format using Javascript?
If your string follows the same pattern, you can change the position of the letters var datas = "2016-06-08 - 10:08 "; var novaData = (datas[8]+datas[9]+datas[4]+datas[5]+datas[6]…