Skip to content

Added support for LEFT and RIGHT functions - #50

Open
KNaved wants to merge 2 commits into
JavaScriptor:masterfrom
KNaved:LEFTandRightFunctionSupport
Open

Added support for LEFT and RIGHT functions#50
KNaved wants to merge 2 commits into
JavaScriptor:masterfrom
KNaved:LEFTandRightFunctionSupport

Conversation

@KNaved

@KNaved KNaved commented May 11, 2021

Copy link
Copy Markdown

Added support for the below functions

SELECT LEFT('SQL Tutorial', 3) AS ExtractString;
SELECT RIGHT('SQL Tutorial', 3) AS ExtractString;

Earlier the parser was breaking as LEFT and RIGHT keywords were treated as part of joins only.

@KNaved
KNaved marked this pull request as ready for review May 11, 2021 22:13
@KNaved KNaved changed the title Support for Left and right functions May 11, 2021
@KNaved KNaved changed the title Added support for Left and right functions May 11, 2021
@albin3

albin3 commented May 12, 2021

Copy link
Copy Markdown
Member

any test case ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants