← Winnitude! Search  ·  Reader Mode (827 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 27 LINKS

allow [$:] as prefix and plain ? for prepared statements by oger000 · Pull Request #15 · JavaScriptor/js-sql-parser

Repository navigation

allow [$:] as prefix and plain ? for prepared statements - #15


Open
oger000 wants to merge 1 commit into JavaScriptor:master from oger000:pr/prepared-statement
Open

allow [$:] as prefix and plain ? for prepared statements #15 oger000 wants to merge 1 commit into JavaScriptor:master from oger000:pr/prepared-statement

Conversation

oger000 commented Jul 26, 2018



Copy link Copy Markdown
Contributor

This allows handling of the $-prefix (postgresql and sequelize bind), :-previx (PHP PDO and sequelize replace) and single ? (most DBS for prepared steatement.
But this PR allows this placeholder on more positions than the underlaying databases, so its for people who need preapared-statement support and know what they do. I am not shure if this should go into master. Anyway it works for me and is out for now.
By the way some trailing whitespace are stripped, so use git diff -w

allow [$:] as prefix and plain ? for prepared statements 0447de0 albin3 assigned albin3 and unassigned albin3 Jul 31, 2019 albin3 added the discuss need to discuss label Jul 31, 2019

albin3 commented Jul 31, 2019



Copy link Copy Markdown
Member

hi @oger000 , thanks for the pr and sorry for the late reply.

There are two things need to be discussed:

albin3 mentioned this pull request Jul 30, 2021 place holder support #43 Merged Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

discuss need to discuss

2 participants