Posts by Diogo Zucchi • 33 points
4 posts
- 
		0 votes2 answers55 viewsA: Postgresql change an element of a JSON columnI was able to solve the problem involving the substring within the function to_jsonb(), thus: ... set json_avaliado = jsonb_set(json_avaliado::jsonb, '{url}',… 
- 
		1 votes2 answers55 viewsQ: Postgresql change an element of a JSON columnHello, I’m trying to change a JSON column, but I want to change only one element, in this case, the "url". There are some urls that have the symbols ' ' and '$' at the beginning and end, as below:… 
- 
		1 votes2 answers161 viewsA: Recursiveness in JavaI think I got it, I’ll post the source: public class Teste { public static List<CentroCusto> centroCustos = new ArrayList<>(); public static List<CentroCusto> centroCustos2 = new… 
- 
		1 votes2 answers161 viewsQ: Recursiveness in JavaI’m trying to create a recursive method, which shows me all the cost centers children who do not have other children, for example: If the father is the cost center 1, will return me the 3, 4 and 5.…