@nyffels/mysql2-extension
v1.9.0
Published
A extension library usable for all mysql npm packages that adds mapping of classes and sql generation functions.
Downloads
137
Readme
��#� �N�o�d�e�J�S�-�M�y�s�q�l�2� �W�r�a�p�p�e�r� �B�y� �N�y�f�f�e�l�s� �B�V�
�
�
�
�T�h�e� �N�o�d�e�J�S� �M�y�S�q�l�2� �w�r�a�p�p�e�r� �i�s� �a� �w�r�a�p�p�e�r� �t�h�a�t� �s�i�m�p�l�i�f�i�e�d� �t�h�e� �u�s�a�g�e� �o�f� �t�h�e� �M�y�S�q�l�2� �n�p�m� �p�a�c�k�a�g�e� �a�n�d� �e�x�t�e�n�d�s� �i�t� �w�i�t�h� �u�s�e�f�u�l�l� �f�u�n�c�t�i�o�n�s�,� �m�a�p�p�i�n�g�s� �a�n�d� �g�e�n�e�r�a�t�i�o�n�s�.�\�
�
�T�h�e� �W�r�a�p�p�e�r� �a�n�d� �e�x�t�e�n�s�i�o�n�s� �c�a�n� �b�e� �u�s�e�d� �s�s�e�p�e�r�a�t�e� �f�r�o�m� �e�a�c�h� �o�t�h�e�r�.�
�
�
�
�#�#� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
�U�s�e� �t�h�e� �n�p�m� �p�a�c�k�a�g�e� �m�a�n�a�g�e�r� �t�o� �i�n�s�t�a�l�l� �t�h�e� �m�y�s�q�l�2� �w�r�a�p�p�e�r� �b�y� �r�u�n�n�i�n�g� �t�h�e� �c�o�m�m�a�n�d�
�
�
�
��
��b�a�s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �@�n�y�f�f�e�l�s�/�n�o�d�e�j�s�-�m�y�s�q�l�2�-�w�r�a�p�p�e�r�
�
�
��
�
�
�
�
�#�#� �U�s�a�g�e�
�
�
�
�U�s�a�g�e� �i�n�f�o�r�m�a�t�i�o�n� �c�o�m�i�n�g� �s�o�o�n�!�
�
�
�
�#�#� �C�o�n�t�r�i�b�u�t�i�n�g�
�
�
�
�P�u�l�l� �r�e�q�u�e�s�t�s� �a�r�e� �w�e�l�c�o�m�e�.�\�
�
�F�o�r� �m�a�j�o�r� �c�h�a�n�g�e�s�,� �p�l�e�a�s�e� �o�p�e�n� �a�n� �i�s�s�u�e� �f�i�r�s�t� �t�o� �d�i�s�c�u�s�s� �w�h�a�t� �y�o�u� �w�o�u�l�d� �l�i�k�e� �t�o� �c�h�a�n�g�e�.�
�
�
�
�P�l�e�a�s�e� �m�a�k�e� �s�u�r�e� �t�o� �u�p�d�a�t�e� �t�e�s�t�s� �a�s� �a�p�p�r�o�p�r�i�a�t�e�.�
�
�
�
�#�#� �L�i�c�e�n�s�e�
�
�
�
�[�M�I�T�]�(�h�t�t�p�s�:�/�/�c�h�o�o�s�e�a�l�i�c�e�n�s�e�.�c�o�m�/�l�i�c�e�n�s�e�s�/�m�i�t�/�)�
�
�
�
�#�#� �R�e�l�e�a�s�e� �N�o�t�e�s�
�
�
�
�#�#�#� �1�.�9�.�0�
�
�-� �A�d�d�e�d� �t�y�p�e� �p�a�r�a�m�e�t�e�r� �f�o�r� �d�e�f�i�n�i�n�g� �t�h�e� �r�e�t�u�r�n� �t�y�p�e� �f�o�r� �q�u�e�r�y�R�e�s�u�l�t�T�o�O�b�j�e�c�t� �f�u�n�c�t�i�o�n�.�
�
�-� �U�p�d�a�t�e�d� �u�s�e�d� �d�e�p�e�n�d�e�n�c�i�e�s�.� �
�
�
�
�#�#�#� �1�.�8�.�0�
�
�-� �A�d�d�e�d� �g�e�t�D�e�l�e�t�e�Q�u�e�r�y� �f�u�n�c�t�i�o�n�.� �
�
�
�
�#�#�#� �1�.�7�.�1�
�
�-� �B�u�g�f�i�x� �f�o�r� �b�u�l�k� �i�n�s�e�r�t� �f�u�n�c�t�i�o�n�.�
�
�
�
�#�#�#� �1�.�7�.�0�
�
�-� �A�d�d�e�d� �q�u�e�r�y� �f�u�n�c�t�i�o�n� �'�g�e�t�B�u�l�k�I�n�s�e�r�t�Q�u�e�r�y�'� �f�o�r� �b�u�l�k� �i�n�s�e�r�t� �q�u�e�r�y� �g�e�n�e�r�a�t�i�o�n�.� �
�
�-� �A�d�d�e�d� �c�o�m�m�e�n�t�a�r�y� �t�o� �f�u�n�c�t�i�o�n�s� �(�i�n�c�o�m�p�l�e�t�e�)�
�
�
�
�#�#�#� �1�.�6�.�1�
�
�-� �B�u�g�f�i�x� �f�o�r� �t�h�e� �n�e�w� �C�o�m�p�a�r�e�P�r�o�p�e�r�t�i�e�s�A�r�r�a�y� �p�r�o�d�u�c�i�n�g� �a�n� �i�n�c�o�r�r�e�c�t� �q�u�e�r�y�.�
�
�
�
�#�#�#� �1�.�6�.�0�
�
�-� �A�d�d�e�d� �q�u�e�r�y� �c�r�e�a�t�o�r� �f�o�r� �c�o�m�p�a�r�i�n�g� �a�r�r�a�y�s� �c�a�l�l�e�d� �'�c�o�m�p�a�r�e�P�r�o�p�e�r�t�i�e�s�A�r�r�a�y�'�.�
�
�
�
�#�#�#� �1�.�5�.�0�
�
�-� �A�d�d�e�d� �o�p�t�i�o�n� �t�o� �c�o�m�p�a�r�e� �n�e�w� �t�a�r�g�e�t� �w�i�t�h� �a� �o�l�d� �o�n�e� �o�n� �t�h�e� �'�g�e�t�U�p�d�a�t�e�V�a�l�u�e�s�F�r�o�m�T�a�r�g�e�t�'� �f�u�n�c�t�i�o�n�.�
�
�-� �A�d�d�e�d� �o�p�t�i�o�n� �t�o� �s�k�i�p� �k�e�y�s� �f�o�r� �'�g�e�t�U�p�d�a�t�e�V�a�l�u�e�s�F�r�o�m�T�a�r�g�e�t�'� �f�u�n�c�t�i�o�n�.�
�
�
�
�#�#�#� �1�.�4�.�0�
�
�
�
�-� �R�e�m�o�v�e�d� �p�o�s�s�i�b�i�l�i�t�y� �t�e� �u�s�e� �e�m�p�t�y� �p�r�o�p�e�r�t�i�e�s� �f�o�r� �'�g�e�t�I�n�s�e�r�t�Q�u�e�r�y�'� �i�n� �f�a�v�o�r� �o�f� �t�h�e� �n�e�w� �v�a�l�u�e� �g�e�n�e�r�a�t�i�o�n� �f�u�n�t�i�o�n�s�.�
�
�-� �A�d�d�e�d� �'�g�e�t�I�n�s�e�r�t�V�a�l�u�e�s�F�r�o�m�T�a�r�g�e�t�'� �f�u�n�c�t�i�o�n�.�
�
�-� �A�d�d�e�d� �'�g�e�t�U�p�d�a�t�e�V�a�l�u�e�s�F�r�o�m�T�a�r�g�e�t�'� �f�u�n�c�t�i�o�n�.�
�
�
�
�#�#�#� �1�.�3�.�0�
�
�
�
�-� �U�p�d�a�t�e�d� �p�a�c�k�a�g�e� �v�e�r�s�i�o�n�s�
�
�-� �U�p�d�a�t�e�d� �'�g�e�t�I�n�s�e�r�t�Q�u�e�r�y�'� �t�o� �a�l�l�o�w� �e�m�p�t�y� �p�r�o�p�e�r�t�i�e�s� �t�o� �i�n�s�e�r�t� �a�l�l� �p�r�o�p�e�r�t�i�e�s�.�
�
�
�
�#�#�#� �1�.�2�.�0�
�
�
�
�-� �A�d�d�e�d� �'�g�e�t�U�p�d�a�t�e�Q�u�e�r�y�'� �f�u�n�c�t�i�o�n�.�
�
�
�
�#�#�#� �1�.�1�.�3�
�
�
�
�-� �F�i�x�e�d� �b�u�i�l�d� �i�s�s�u�e�s� �f�r�o�m� �1�.�1�.�2�
�
�
�
�#�#�#� �1�.�1�.�2�
�
�
�
�-� �F�i�x�e�d� �i�n�c�o�r�r�e�c�t� �o�r�d�e�r� �b�y� �o�n� �"�g�e�t�S�e�l�e�c�t�Q�u�e�r�y�"� �f�u�n�c�t�i�o�n�.�
�
�-� �M�i�n�o�r� �p�a�c�k�a�g�e� �u�p�d�a�t�e�s�.�
�
�
�
�#�#�#� �1�.�1�.�1�
�
�
�
�-� �F�i�x�e�d� �n�a�m�i�n�g� �t�y�p�o� �i�n� �f�u�n�c�t�i�o�n�.�
�
�
�
�#�#�#� �1�.�1�.�0�
�
�
�
�-� �A�d�d�e�d� �"�q�u�e�r�y�R�e�s�u�l�t�T�o�O�b�j�e�c�t�"� �f�u�n�c�t�i�o�n�.�
�
�
�
�#�#�#� �1�.�0�.�2�
�
�
�
�-� �P�r�e�v�e�n�t� �d�u�p�l�i�c�a�t�e�d� �e�r�r�o�r� �n�o�t�i�f�i�c�a�t�i�o�n�s�.�
�
�
�
�#�#�#� �1�.�0�.�1�
�
�
�
�-� �U�p�d�a�t�e�d� �a�n�n�o�t�a�t�i�o�n�s� �g�e�t�t�e�r�s� �t�o� �p�r�e�v�e�n�t�s� �u�n�w�a�n�t�e�d� �e�r�r�o�r�s�.�
�
�
�
�#�#�#� �1�.�0�.�0�
�
�
�
�-� �I�n�i�t�i�a�l� �r�e�l�e�a�s�e� �o�f� �t�h�e� �e�x�t�e�n�s�i�o�n� �l�i�b�r�a�r�y�.�
�
�-� �A�d�d�e�d� �p�a�r�s�e�r� �l�o�g�i�c�s� �f�o�r� �t�h�e� �t�y�p�e�s� �(�s�t�r�i�n�g�,� �n�u�m�b�e�r�,� �b�o�o�l�e�a�n� �a�n�d� �d�a�t�e�t�i�m�e�)�.�
�
�-� �A�d�d�e�d� �q�u�e�r�y� �g�e�n�e�r�a�t�i�o�n� �f�u�n�c�t�i�o�n�s� �f�o�r� �i�n�s�e�r�t� �&� �s�e�l�e�c�t�.�
�
�-� �A�d�d�e�d� �a�n�n�o�t�a�t�i�o�n�s� �f�o�r� �c�l�a�s�s�e�s� �/� �t�a�b�l�e� �m�a�p�p�i�n�g�.�
�
�-� �A�d�d�e�d� �a�n�n�o�t�a�t�i�o�n�s� �f�o�r� �c�l�a�s�s� �p�r�o�p�e�r�t�y� �/� �t�a�b�l�e� �c�o�l�u�m�n� �m�a�p�p�i�n�g�.�
�
�-� �A�d�d�o�d�e�d� �a�n�n�o�t�a�t�i�o�n�s� �f�o�r� �c�l�a�s�s� �v�a�r�i�a�b�l�e� �t�y�p�e� �/� �t�a�b�l�e� �c�o�l�u�m�n� �t�y�p�e� �/� �p�a�r�s�i�n�g� �m�a�p�p�i�n�g�.�
�
�