An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/ajitpratap0/GoSQLX

Package gosqlx provides a production-ready, high-performance SQL parsing SDK for Go with zero-copy tokenization and comprehensive object pooling. It offers enterprise-grade SQL lexing, parsing, and AST generation with support for multiple SQL dialects and advanced SQL features. GoSQLX v1.11.1 includes both a powerful Go SDK and a high-performance CLI tool for SQL processing, validated for production deployment with race-free concurrent operation and extensive real-world testing. Production Status: VALIDATED FOR PRODUCTION DEPLOYMENT (v1.6.0+) Core Features: - Zero-copy tokenization for optimal performance - Object pooling for 60-80% memory reduction - Multi-dialect SQL support (PostgreSQL, MySQL, SQL Server, Oracle, SQLite) - Thread-safe implementation with linear scaling to 128+ cores - Full Unicode/UTF-8 support for international SQL - Performance monitoring and metrics collection - Visitor pattern support for AST traversal - Production-ready CLI tool with 1.38M+ ops/sec performance Advanced SQL Features: SQL-99 Core Features (v1.3.0+): PostgreSQL Extensions (v1.6.0+): Advanced Grouping (v1.5.0+): Expression Operators: ~80-85% SQL-99 standards compliance CLI Tool (v1.6.0): Install the CLI: CLI Commands: Configuration (.gosqlx.yml): See docs/CONFIGURATION.md for complete configuration reference. Basic Usage: Advanced Usage (Window Functions, CTEs, PostgreSQL Extensions): Performance: GoSQLX Library achieves: - 1.38M+ sustained operations/second (validated benchmarks) - 1.5M+ operations/second peak throughput (concurrent) - 8M+ tokens/second processing speed - <1μs latency for complex queries with window functions - Linear scaling to 128+ cores - 60-80% memory reduction with object pooling - Zero memory leaks under extended load - Race-free concurrent operation validated CLI Performance: - 1.38M+ operations/second SQL validation - 2,600+ files/second formatting throughput - 1M+ queries/second analysis performance - Memory leak prevention with proper AST cleanup Core Packages: Analysis and Tooling: Configuration and Compatibility: CLI and Integration: GoSQLX provides a full-featured LSP server for IDE integration: Features: See docs/LSP_GUIDE.md for complete IDE setup instructions. Built-in linting rules (L001-L010): See docs/LINTING_RULES.md for complete linting reference. Complete documentation available at: v1.11.1: Website audit fixes, SEO, lazy WASM, design polish v1.11.0: VS Code Marketplace publishing with bundled platform-specific binaries v1.10.0: MCP Server — all SQL tools as Model Context Protocol tools over streamable HTTP v1.9.0: SQLite PRAGMA, tautology detection, 19 post-UAT fixes v1.8.0: Multi-dialect engine, query transforms, WASM playground, AST-to-SQL roundtrip v1.6.0: PostgreSQL extensions (LATERAL, JSON operators, DISTINCT ON, FILTER, RETURNING) v1.5.0: GROUPING SETS, ROLLUP, CUBE, MERGE statements, materialized views v1.4.0: Window functions with PARTITION BY, ORDER BY, frame clauses v1.3.0: Common Table Expressions (CTEs) and recursive CTEs v1.2.0: Set operations (UNION, EXCEPT, INTERSECT) v1.1.0: Complete JOIN support v1.0.0: Initial release with basic SQL parsing For more examples and detailed documentation, see: https://github.com/ajitpratap0/GoSQLX

Ecosystem
proxy.golang.org
Latest Release
v1.12.1
1 day ago
Versions
24
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/ajitpratap0/%21go%21s%21q%21l%21x
spec
License Apache-2.0
Namespace github.com/ajitpratap0
First Release 7 months ago
Last Synced 1 day ago
Repository
Stars 49 on GitHub
Forks 7 on GitHub
Rankings on proxy.golang.org
Overall Top 6.9%
Forks Top 9.2%