What is Waddler
mainWaddler is a thin SQL client wrapper that provides a modern API inspired by postgresjs. It is based on ES6 Tagged Template Strings, allowing you to interact with databases using a unified sql template tag instead of learning a specific API for every database client.
Key characteristics:
- Dialect Agnostic: It unifies communication with any database dialect or driver supported by Drizzle (e.g., PostgreSQL, MySQL, LibSQL).
- No Mapping/Parsing: It does not perform complex query building or object-relational mapping; it simply facilitates communication via TCP or HTTP-based clients.
- Security: It prevents SQL injection by automatically converting template literals into parameterized queries (e.g., converting
${10}to$1and[10]).