Files
db/dialect/postgres/postgres.go
T
whatandClaude 304d553b3c docs: Add CLAUDE.md with codebase guidance
Create comprehensive documentation for future Claude Code instances working in this repository, including:
- Development commands for testing, building, and code quality
- Core architecture overview of the SQL query builder system
- Directory structure and component explanations
- Testing patterns and conventions
- Key dependencies and their purposes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 15:47:28 +08:00

15 lines
279 B
Go

package postgres
import "git.fsdpf.net/go/db"
func DialectOptions() *db.SQLDialectOptions {
do := db.DefaultDialectOptions()
do.PlaceHolderFragment = []byte("$")
do.IncludePlaceholderNum = true
return do
}
func init() {
db.RegisterDialect("postgres", DialectOptions())
}