Title: fix: handle comments at the end of sql without a trailing newline by mlilius · Pull Request #38 · JavaScriptor/js-sql-parser · GitHub
Open Graph Title: fix: handle comments at the end of sql without a trailing newline by mlilius · Pull Request #38 · JavaScriptor/js-sql-parser
X Title: fix: handle comments at the end of sql without a trailing newline by mlilius · Pull Request #38 · JavaScriptor/js-sql-parser
Description: SQL(select) parser written with jison. parse SQL into abstract syntax tree(AST) and stringify back to SQL. sql grammar follows https://dev.mysql.com/doc/refman/5.7/en/select.html - fix: handle comments at the end of sql without a trailing newline by mlilius · Pull Request #38 · JavaScriptor/js-sql-parser
Open Graph Description: If the sql string ends with a comment without a trailing newline it fails. This change make it handle this case. I included a test for this as well.
X Description: If the sql string ends with a comment without a trailing newline it fails. This change make it handle this case. I included a test for this as well.
Opengraph URL: https://github.com/JavaScriptor/js-sql-parser/pull/38
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:866dd0e5-ca34-3aeb-3661-c5b1a93af836 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EA9E:959DF:2D46365:3B53B03:69770B97 |
| html-safe-nonce | 2b794790af35627c43cb2f902ffc63bb6fd53c95c370f955bb19dc931df190b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTlFOjk1OURGOjJENDYzNjU6M0I1M0IwMzo2OTc3MEI5NyIsInZpc2l0b3JfaWQiOiI4MDY1OTExOTM4OTk2NDM5OTU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4313f46aad577188e5c8cc7e90751e4c3aa74a1c0b4e516540fcadef911a3b32 |
| hovercard-subject-tag | pull_request:420433311 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/JavaScriptor/js-sql-parser/pull/38/commits |
| twitter:image | https://opengraph.githubassets.com/78d4556da790dab3c26038dd0ba764d97b4a4bbe2be248def043cae34e593575/JavaScriptor/js-sql-parser/pull/38 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78d4556da790dab3c26038dd0ba764d97b4a4bbe2be248def043cae34e593575/JavaScriptor/js-sql-parser/pull/38 |
| og:image:alt | If the sql string ends with a comment without a trailing newline it fails. This change make it handle this case. I included a test for this as well. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mlilius |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-cache |
| go-import | github.com/JavaScriptor/js-sql-parser git https://github.com/JavaScriptor/js-sql-parser.git |
| octolytics-dimension-user_id | 14047812 |
| octolytics-dimension-user_login | JavaScriptor |
| octolytics-dimension-repository_id | 71266724 |
| octolytics-dimension-repository_nwo | JavaScriptor/js-sql-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 71266724 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptor/js-sql-parser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width