So basiclly i want to create a computed field which is very basic, Get the full name from the database.
CREATE FUNCTION author_full_name(user_row users)
RETURNS TEXT AS $$
SELECT user_row.firstName || ' ' || user_row.lastName
$$ LANGUAGE sql STABLE;
Here is the users table: users id int, firstName text, lastName text
db ss: https://ibb.co/gm1xzK2
I always end up with this error : "SQL Execution Failed no schema has been selected to create in. null"