surrealdb / surrealdb.go

SurrealDB SDK for Golang
https://surrealdb.com
Apache License 2.0
232 stars 60 forks source link

Add Record type for FETCH statement in SELECT. #101

Closed aoisensi closed 11 months ago

aoisensi commented 11 months ago

I don't have good English so please add comments.

aoisensi commented 11 months ago

Maybe Record.Fetched is better than Record.OnlyID? Idk.

aoisensi commented 11 months ago

I had been using the old version and didn't even know it had been moved to pkg/marshal. Apparently marshal.Basemodel is sufficient. I wish they would update the documentation more! Thank you.

aoisensi commented 11 months ago

Oh, v0.2.1 has too. Bruh...

ElecTwix commented 11 months ago

I had been using the old version and didn't even know it had been moved to pkg/marshal. Apparently marshal.Basemodel is sufficient. I wish they would update the documentation more! Thank you.

I feel you, a lot of people are saying that I'm waiting for #88 to merge I will update all docs again. Thanks for your efforts tho.