Skip to content

Commit 16d1c40

Browse files
committed
docs: update readme
1 parent f724e3d commit 16d1c40

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Diff for: README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,13 @@ export default defineNuxtConfig({
7979
auth: 'mySuperLongBearerToken'
8080
},
8181

82-
shop: {
83-
host: '', // initialize any property that will be set via `.env`
84-
ws: '',
85-
NS: '',
86-
DB: ''
87-
},
82+
shop: {},
8883
},
8984
server: { // the following add auth only server side
9085
databases: {
9186
default: {
9287
auth: '', // then edit it via NUXT_SURREALDB_DATABASES_DEFAULT_AUTH
88+
// OR
9389
auth: {
9490
user: '', // then edit it via NUXT_SURREALDB_DATABASES_DEFAULT_AUTH_USER
9591
pass: '' // then edit it via NUXT_SURREALDB_DATABASES_DEFAULT_AUTH_PASS
@@ -155,6 +151,7 @@ Here the full list:
155151
const {
156152
authenticate, // $authenticate
157153
create, // $create
154+
delete, // $delete
158155
info, // $info
159156
insert, // $insert
160157
invalidate, // $invalidate
@@ -187,11 +184,12 @@ const {
187184
close,
188185
create,
189186
data,
190-
set, // Surreal's `let`
187+
set, // alias for `let`
191188
info,
192189
insert,
193190
invalidate,
194191
kill,
192+
let,
195193
live,
196194
merge,
197195
open,
@@ -203,7 +201,7 @@ const {
203201
send,
204202
signin,
205203
signup,
206-
sql, // alias for query
204+
sql, // alias for `query`
207205
status,
208206
unset,
209207
update,

0 commit comments

Comments
 (0)