Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add support for named params#458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
psteinroe merged 1 commit intomainfromfeat/named-params
Jul 16, 2025
Merged

Conversation

psteinroe
Copy link
Collaborator

adds support for named parameters in tokenizer + lexer

for now, we support

  • @name (sqlc)
  • :name,:'name' and:"name" (psql)

closes#455
closes#456

myypo and robsonpeixoto reacted with hooray emoji
Copy link
Collaborator

@juleswritescodejuleswritescode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

diggi, richtig schöner PR :)

psteinroe reacted with heart emoji
Comment on lines +137 to +139
pgt_tokenizer::NamedParamKind::ColonIdentifier { terminated: false } => {
err = "Missing trailing \" to terminate the named parameter";
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

junge, richtig geil

@psteinroe
Copy link
CollaboratorAuthor

hatte einen sehr sehr schönen Morgen heute. Macht richtig Spaß

@psteinroepsteinroe merged commit544b6b0 intomainJul 16, 2025
7 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@juleswritescodejuleswritescodejuleswritescode approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

add support for@name in the lexer add support for:'name' in the lexer
2 participants
@psteinroe@juleswritescode

[8]ページ先頭

©2009-2025 Movatter.jp