Posts by rbrt • 1 point
2 posts
-
0
votes1
answer186
viewsA: Check Array(STRING) in Postgres column
I got through the following way: update tabelaTeste SET versao = '2' WHERE conta = ANY(['1','3','4'])
-
-2
votes1
answer186
viewsQ: Check Array(STRING) in Postgres column
Good afternoon, everyone, I need to UPDATE a table, but for this I need to compare if the values of an ARRAY(STRING) are inside a column of this table, example: UPDATE tabelaTeste SET versao = '2'…