Skip to content

Commit

Permalink
fix: add delete and let methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sandros94 committed Sep 12, 2024
1 parent a110e9b commit c8605d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/composables/surreal-db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,8 @@ export function useSurrealDB(overrides?: Overrides) {
authenticate,
$create,
create,
$delete: $remove,
delete: remove,
$info,
info,
$insert,
Expand Down
2 changes: 2 additions & 0 deletions src/runtime/composables/surreal-ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,12 @@ export function useSurrealWS(
create,
_data,
data,
delete: remove,
info,
insert,
invalidate,
kill,
let: set,
live,
merge,
open,
Expand Down

0 comments on commit c8605d1

Please sign in to comment.