package
1.0.2-beta
Repository: https://github.com/rickb777/where.git
Documentation: pkg.go.dev

# Functions

Pick finds a dialect that matches by name, ignoring letter case.
ReplacePlaceholders replaces all "?" placeholders with numbered placeholders, using the given prefix.

# Constants

At numbered placeholders '@p1', '@p2' etc are used in SQL-Server.
Dollar numbered placeholders '$1', '$2' etc are used (e.g.) in PostgreSQL.
Mysql identifies MySQL (also works for MariaDB).
Postgres identifies PostgreSQL.
Query is the '?' placeholder style.
Sqlite identifies SQLite.
SqlServer identifies SqlServer (MS-SQL).

# Variables

chosen as being probably the simplest.

# Type aliases

Dialect represents a dialect of SQL.
PlaceholderStyle enumerates the different ways of including placeholders in SQL.