turso_test.go: TestDefaultValueDataTypes#54
turso_test.go: TestDefaultValueDataTypes#54gigagrug wants to merge 1 commit intotursodatabase:mainfrom
Conversation
|
So this test probably won't pass yet right? until the next release of turso_core, because I just fixed this upstream in tursodatabase/turso#3804 the other day. but yeah this is definitely good to have 👍 |
|
Yeah you're right it shouldn't pass now. Also I was wondering what you think about what true false returns in golang as mentioned above. |
|
that's tough.. I think because it's going to probably have to be |
|
idk this is the best I can offer: https://github.com/mattn/go-sqlite3/blob/master/sqlite3_type.go. |
For
modernc.org/sqlitedefault boolean returns int which is accurate to SQLite.For
https://github.com/mattn/go-sqlite3default boolean returns bool which I think makes more sense for golang sdk.I can change test to change to check bool instead if you think the test itself is generally good.
For #53