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

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
@KNavedKNaved changed the title Support for Left and right functionsAdded support for Left and right functionsMay 11, 2021
@KNavedKNaved changed the title Added support for Left and right functionsAdded support for LEFT and RIGHT functionsMay 11, 2021
@albin3

Copy link
Copy Markdown
Member

any test case ?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@KNaved@albin3