dbcli / dbcli/litecli

".separator" command missing

Đang mở
#123 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
3.3k
Fork
95
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When trying to load a CSV into a table, one might have to define the CSV-Separator used. Litecli throws a Syntaxerror.

in sqlite3 (working)

sqlite> .mode csv
sqlite> .separator ,
sqlite> .import examples/test.csv test
sqlite> .schema
CREATE TABLE test(
"field_a" TEXT,
"field_b" TEXT,
"field_c" TEXT,
"field_d" TEXT,
"field_e" TEXT
);

in litecli (not working)

csvtest.db> .mode csv
Changed table format to csv
Time: 0.000s
csvtest.db> .separator ,
near ".": syntax error

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.