FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Added support for LEFT and RIGHT functions by KNaved · Pull Request #50 · JavaScriptor/js-sql-parser · GitHub

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 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 marked this pull request as ready for review May 11, 2021 22:13
KNaved changed the title Support for Left and right functions Added support for Left and right functions May 11, 2021
KNaved changed the title Added support for Left and right functions Added support for LEFT and RIGHT functions May 11, 2021

albin3 commented May 12, 2021

Copy link
Copy Markdown
Member

any test case ?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to 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


Back | FazBrowse Home | New Git URL