From 9f74f83a77b58047222eb4fd402dfdc102b822f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Santilio?= Date: Thu, 17 Jun 2021 22:55:08 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d62b04a..c99a181 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ func _ready() -> void: var authtask : AuthTask = yield(Supabase.auth.sign_in("user@usermail.mail","userpasswrd"), "completed") if authtask.user != null: # write a query - var dbtask : DatabaseTask = yield(SupabaseQuery.new().from('test-table').select().eq("id","1"), "completed") + var dbtask : DatabaseTask = yield(Supabase.database.query(SupabaseQuery.new().from('test-table').select().eq("id","1")), "completed") if dbtask.error == null: print(dbtask.data) else: