functions
12 tutorials tagged “functions”.
- MySQL Functions Reference84 common MySQL functions with what they do and the PostgreSQL equivalent, grouped into string, numeric, date and advanced functions.
- PostgreSQL Functions ReferenceThe most-used PostgreSQL string, numeric, date, conversion and conditional functions, each with an example and its real result.
- SQL Server Functions Reference54 common SQL Server functions with what they do and the PostgreSQL equivalent, grouped into string, numeric, date and advanced functions.
- User-Defined FunctionsWrite your own SQL functions: CREATE FUNCTION in SQL and PL/pgSQL, returning a value or a table, volatility labels, and choosing a function or a procedure.
- ClosuresHow a function remembers the variables where it was created: closures explained, private state, counters and factories, the loop bug, and closures and memory.
- Callbacks and Higher-Order FunctionsFunctions that take or return functions: callbacks, composing small functions into pipelines, factories, partial application and currying.
- The This KeywordHow JavaScript decides this: default, implicit, explicit and new binding, arrow functions, classes and event handlers, and fixing the lost this bug.
- Arrow FunctionsThe short => syntax, implicit returns, returning object literals, why arrows have no own this or arguments, and when a regular function is the better choice.
- Function ExpressionsCreate functions as values with function expressions, named vs anonymous, how they differ from declarations, and how to pass, store and return functions.
- Parameters and ArgumentsDefault parameters, rest parameters, missing and extra arguments, passing objects as named options, how arguments are passed, and the older arguments object.