Posts by Clayton SIlva • 151 points
5 posts
-
3
votes1
answer2762
viewsA: Add values from within a column with postgres
select id , nome_municipio, (SELECT SUM(s) FROM UNNEST(CAST(regexp_split_to_array(valores, E';') as real[])) s) from "tabela"
-
0
votes2
answers87
viewsA: How to extract json from a jsonp in a Scala string
In your English stackoverflow post the correct solution (in terms of elegance and good use of the framework’s resources) is the one that proposed this stretch in scala scala> val body =…
-
2
votes2
answers87
viewsA: Detele() - Play Framework - Compilation error
Studying the Ebean by website, I noticed the use of Singleton Ebean and the routine should stay like this: public static void delete(Long id) { Ebean.delete(Ebean.find(Task.class,id)); }…
-
1
votes2
answers426
viewsA: Problem sending email (with html) using PHP
In Thunderbird it can be encoding conflict with your PHP (check your php encoding if it is also 8859-1). Gmail may be a matter of using css inline in the head, according to this article (here) it…
-
1
votes1
answer1749
viewsA: Webservice REST POST error request
I did some research, and there’s a guy recommending this app to debug request http://www.telerik.com/download/fiddler This type of error is quite undefined , but most cases are : 1) Uploaded Rest…