Audit with AI
This commit is contained in:
15
cmd/parse.go
15
cmd/parse.go
@@ -1,5 +1,20 @@
|
||||
// Patial Tech.
|
||||
// Author, Ankit Patial
|
||||
//
|
||||
// SQL Parser Limitations:
|
||||
// This is a simple regex-based SQL parser with the following known limitations:
|
||||
// - No support for multi-line comments /* */
|
||||
// - May struggle with complex data types (e.g., arrays, JSON, JSONB)
|
||||
// - No handling of quoted identifiers with special characters
|
||||
// - Advanced features like PARTITION BY, INHERITS not supported
|
||||
// - Does not handle all PostgreSQL-specific syntax
|
||||
// - Constraints like CHECK, EXCLUDE not parsed
|
||||
//
|
||||
// For complex schemas, consider:
|
||||
// 1. Simplifying your schema for generation
|
||||
// 2. Using multiple simple CREATE TABLE statements
|
||||
// 3. Contributing a more robust parser implementation
|
||||
// 4. Using a proper SQL parser library
|
||||
|
||||
package main
|
||||
|
||||
|
||||
Reference in New Issue
Block a user