-
Notifications
You must be signed in to change notification settings - Fork 4.1k
add postgresql functions concept #5220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add postgresql functions concept #5220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @hakdo99 ,
The entry is nicely written, and I have suggested a few changes. Please make them asap.
Thanks,
Savi
- 'PostgreSQL' | ||
- 'Functions' | ||
CatalogContent: | ||
- 'learn-postgresql' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 'learn-postgresql' | |
- 'learn-postgresql' |
Include only those course paths that are already available in the catalog-content.md file. You can add one if you want it to get included in the PR. Here learn-postgresql
is not available in the catalog-content file so it makes it invalid to get included in PR.
Hey @NelsonSanti , |
Hello @SaviDahegaonkar |
Co-authored-by: Savi Dahegaonkar <[email protected]>
Co-authored-by: Savi Dahegaonkar <[email protected]>
Yeah, I am really sorry for the misunderstanding. |
Hey @hakdo99 , Thanks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @hakdo99 ,
LGTM! Thank You for Contributing to docs :)
Thanks,
Savi
Co-authored-by: Radhika-okhade <[email protected]>
Co-authored-by: Radhika-okhade <[email protected]>
Co-authored-by: Radhika-okhade <[email protected]>
Co-authored-by: Radhika-okhade <[email protected]>
```pseudo | ||
CREATE [OR REPLACE] FUNCTION function_name(parameters) | ||
RETURNS return_type AS $$ | ||
DECLARE | ||
<variable_name> <data_type>; | ||
BEGIN | ||
<function_logic>; | ||
RETURN <value_or_variable>; | ||
END; | ||
$$ LANGUAGE lang_name; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```pseudo | |
CREATE [OR REPLACE] FUNCTION function_name(parameters) | |
RETURNS return_type AS $$ | |
DECLARE | |
<variable_name> <data_type>; | |
BEGIN | |
<function_logic>; | |
RETURN <value_or_variable>; | |
END; | |
$$ LANGUAGE lang_name; | |
```pseudo | |
CREATE [OR REPLACE] FUNCTION function_name(parameters) | |
RETURNS return_type AS $$ | |
DECLARE | |
<variable_name> <data_type>; | |
BEGIN | |
<function_logic>; | |
RETURN <value_or_variable>; | |
END; | |
$$ LANGUAGE lang_name; |
fixed pseudo block syntax
👋 @hakdo99 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/postgresql/functions Please note it may take a little while for changes to become visible. |
Description
Add a concept entry about PostgreSQL functions. The new file is functions.md.
Issue Solved
Closes #4589Type of Change
Checklist
main
branch.Issues Solved
section.