SurrealLike
SurrealLike =
Pick<Surreal,"create"|"select"|"update"|"delete"|"query"|"relate">
Defined in: define/table/types/model.ts:13
A type that represents any SurrealDB-compatible object that can perform CRUD operations. This includes Surreal instances, SurrealSession instances, and Transaction objects.
This type picks only the core methods that are guaranteed to be available across all SurrealDB object types, ensuring maximum compatibility.