cotton
cotton copied to clipboard
Error: Don't know how to parse column type: 22
Coba execute query SELECT CURRENT_DATABASE()
. pakai postgre, nanti dia keluar error kaya diatas.
Btw, OOT jg,
Ane lagi berusaha konversi doctrine/dbal ke deno, sekarang masih di private sih repo nya... https://www.doctrine-project.org/projects/dbal.html
sebenernya feature nya mirip dengan cotton, cmn yang powerful di dbal itu database introspection nya, jadi kita bisa tau schema nya si database via api nya dbal, termasuk foreign-key etc.
sudah sekitar 70% sih konversi nya, tinggal yg terakhir cari driver untuk masing2 database, lalu bikin abstraksi nya untuk masing2 driver itu. nah disini aku pakai cotton, terus pas query buat dapetin nama database sekarang kok error ini, hehe :)
Kalau di PHP kan sudah ada PDO yg powerful yah, kalau di deno ? cotton cucok ini.
Thanks buat lib nya yah
- P.S, sorry for bahasa indonesia, if you want to talk in english please continue to do so.
Error nya ini kayanya dari deno-postgres nya deh, udah aku post issue jg disana: https://github.com/deno-postgres/deno-postgres/issues/178
I think it's a deno-postgres
bug 🤔
Talking about database introspection, We're trying to do that too in Cotton, please see #18. Let me know if you're interested to help. 😃
Sorry for the late response. 🙏
For later issues, please use English so that other contributors can help you out.