langchain
c39ef70a - fix for database compatibility when getting table DDL (#1129)

Commit
3 years ago
fix for database compatibility when getting table DDL (#1129) #1081 introduced a method to get DDL (table definitions) in a manner specific to sqlite3, thus breaking compatibility with other non-sqlite3 databases. This uses the sqlite3 command if the detected dialect is sqlite, and otherwise uses the standard SQL `SHOW CREATE TABLE`. This should fix #1103.
Author
Parents
Loading