Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
craigpangea committed Apr 19, 2023
1 parent 1b4f0b1 commit 40d7b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ SELECT urlencode('my special string''s & things?');
URL encode a JSON associative array.

```sql
SELECT urlencode(jsonb_build_object('name','Colin & James','rate','50%')::text);
SELECT urlencode(jsonb_build_object('name','Colin & James','rate','50%'));
```
```
urlencode
-------------------------------------
%7B%22name%22%3A+%22Colin+%26+James%22%2C+%22rate%22%3A+%2250%25%22%7D
name=Colin+%26+James&rate=50%25
(1 row)
```

Expand Down

0 comments on commit 40d7b8c

Please sign in to comment.