kotolex / surrealist

Python library to work with SurrealDB
MIT License
20 stars 0 forks source link

add CBOR feature #39

Open kotolex opened 6 months ago

kotolex commented 6 months ago

CBOR is faster, smaller than json, no recurse maximum problem and it can have bytes type (JSON cant) The main thing is - get 3rd party library or write it for Surreal exact case

kotolex commented 5 months ago

https://github.com/surrealdb/surrealdb/blob/main/src/rpc/format/cbor/convert.rs#L15-L37

kotolex commented 4 months ago

CBOR via http https://github.com/surrealdb/surrealdb.js/blob/main/src/library/engine.ts#L329-L341