Annotation: core.get_account_name_by_account_id

CREATE OR REPLACE FUNCTION core.get_account_name_by_account_id(bigint)
RETURNS text

Information: core.get_account_name_by_account_id

Schema core
Function Name get_account_name_by_account_id
Arguments bigint
Owner postgres
Result Type text
Description

Implementation: core.get_account_name_by_account_id

CREATE OR REPLACE FUNCTION core.get_account_name_by_account_id(bigint)
 RETURNS text
 LANGUAGE plpgsql
 STABLE
AS $function$
BEGIN
    RETURN account_name
    FROM core.accounts
    WHERE account_id=$1;
END
$function$