Skip to content

Adds MySQL syntax to Values builder#55

Merged
belchior merged 1 commit intomysqlfrom
mysql-values
Jul 21, 2025
Merged

Adds MySQL syntax to Values builder#55
belchior merged 1 commit intomysqlfrom
mysql-values

Conversation

@belchior
Copy link
Owner

@belchior belchior commented Jul 21, 2025

Basic API

// Insert builder
let query = sql::Insert::new()
  // one of is required
  .values("('foo', 'Foo')")
  .row("('foo', 'Foo')")
  .as_string();

// Values builder
let query = sql::Values::new()
  .row("(1, 'one')")
  .as_string();

Reference

@belchior belchior self-assigned this Jul 21, 2025
@belchior belchior added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 21, 2025
@belchior belchior moved this to In Progress in SQL Query Builder Roadmap Jul 21, 2025
@belchior belchior merged commit 86ad7b4 into mysql Jul 21, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in SQL Query Builder Roadmap Jul 21, 2025
@belchior belchior deleted the mysql-values branch September 6, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

1 participant

Comments