VBA-SQL-Library icon indicating copy to clipboard operation
VBA-SQL-Library copied to clipboard

README — code examples contain mistakes

Open Ben-Gonzalez-97 opened this issue 3 months ago • 0 comments

README: fix API typos and incorrect examples

  • Component: README.md

Problems (examples)

  • .innerJoin (should be .InnerJoin).
  • Missing comma: .AddWhere "u.favorite" "c.name".
  • Assignment instead of call: .AddHaving = "age", "1", ">".AddHaving "age", 1, ">".
  • Ceate_SQLSelectCreate_SQLSelect; literals inconsistent with shown SQL.
  • Delete example uses With MyUpdate instead of With MyDelete.

Proposed Fix

  • Correct the snippets to match the library’s API and intended SQL.

Ben-Gonzalez-97 avatar Oct 16 '25 13:10 Ben-Gonzalez-97