Posts by Dhieyson Aguiar Gabriel • 56 points
8 posts
-
0
votes1
answer217
viewsA: Error 404 when using Cielo Ecommerce API
You cannot make this call through JS. You will have to send the information on the server side. This way you leave exposed your Merchantid and your Merchantkey.
-
0
votes1
answer64
viewsA: How to show the Controller output in View c#
Some points that can be observed: 1) Avoid using Viewbag. Create an object and pass your Model to the View. 2) The values you pass from controller to view vc must set in JS. If you’re passing on…
-
0
votes2
answers102
viewsA: How to take the last inserted values from two tables, and sort them by the last access?
I believe that with a subquery you can ensure that you are getting the last result of each record. select * from Tabela1 as t1 Inner Join tabela2 as t2 on t1.cod_mobilibus = t2.cod_mobilibus Where…
-
1
votes2
answers47
viewsA: Total Subrecords - Mysql
You can do something like: select t1. *, Count(t2.product) from Tabela1 as t1 Inner Join table2 as t2 on t2.id_tab1_2 = t1.id group by t2.id_tab1_2
-
0
votes1
answer46
viewsA: Query zeroing column when applying order by - Mysql
Have you tried ordination at a higher level? Ex: select * from (SELECT tab_medicamentos.id, tab_medicamentos.classe_terapeutica, tab_medicamentos.apresentacao, tab_medicamentos.produto as nome,…
-
1
votes2
answers905
viewsA: How to create a sequential number that does not repeat, per user
To control this on the Database side, you can create an after Insert Rigger that calculates this number. To ensure that there is no repeated number in this same table you can create a unique index…
-
1
votes4
answers1265
viewsA: Request JSON (http post) with Angular 2+
It is necessary to ensure that the server you are integrating has CORS support. Another important point is to check security aspects to ensure that they do not have access to your Merchantid and…
angularanswered Dhieyson Aguiar Gabriel 56 -
1
votes2
answers50
viewsA: Problems with icon positioning
Apparently it is some part of external code that is interfering. Ex. some position in an external class or variation of width. As the idea is to put in practice studies, I suggest using a framework…