Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 460 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 460 Bytes

MySQL UDF for Hangul Jamo Decomposition

Docker commands

Below commands should bring up a MariaDB container with jamodecomp() UDF.

>>> docker build --tag mysqludf/jamotest .
>>> docker run -it -p 3306:3306 --name jamotest -e MYSQL_ROOT_PASSWORD=password -d mysqludf/jamotest:latest

Using the function

SELECT jamodecomp('정태원') as decomposed;
SELECT * from users u where jamodecomp(u.name) LIKE jamodecomp('정ㅌ%');
...