#4 #20

Merged
flecomte merged 14 commits from #4 into master 2019-07-29 16:41:48 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 8581ebb558 - Show all commits

View File

@@ -3,7 +3,7 @@ $$
declare declare
_id alias for id; _id alias for id;
begin begin
select to_json(u) into resource select to_jsonb(u) - 'password' into resource
from "user" as u from "user" as u
where u.id = _id; where u.id = _id;
end; end;

View File

@@ -3,7 +3,7 @@ $$
declare declare
_username alias for username; _username alias for username;
begin begin
select to_json(u) into resource select to_jsonb(u) - 'password' into resource
from "user" as u from "user" as u
where u.username = _username; where u.username = _username;
end; end;