User-Defined Functions

You are viewing an old version of this category. View the current version here.

사용자 정의 함수(User-defined function,UDF)는 ABS( ) 또는 CONCAT( ) 같은 MariaDB 기본(내장)함수처럼 동작하는 새로운 함수를 만들어 MariaDB를 확장하는 방법입니다.

사용자 정의 함수를 사용하는 구문은 복제 안전하지 않습니다.

사용자 정의 함수의 예시를 확인하려면 소스 트리의 sql/udf_example.cc파일을 참조하세요. 현존하는 사용자 정의 함수 모음을 확인하려면 UDF Repository on GitHub로 이동하세요.

새로운 함수를 추가하는 다른 방법도 있습니다: 서버 소스코드를 변경하고 컴파일해 새 기본 함수를 만들거나, 저장 함수를 만들 수 있습니다.

  • No items found.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.