GithubHelp home page GithubHelp logo

Comments (7)

finalclass avatar finalclass commented on August 15, 2024
root@43932fdf8ef0:/# deno --version
deno 1.37.2 (release, x86_64-unknown-linux-gnu)
v8 11.8.172.13
typescript 5.2.2

from surrealdb.js.

finalclass avatar finalclass commented on August 15, 2024

Worth noting is that on previous versions it works fine:

image

from surrealdb.js.

finalclass avatar finalclass commented on August 15, 2024

v0.9.1 seams to be the last version that worked fine:

image

from surrealdb.js.

kearfy avatar kearfy commented on August 15, 2024

Hey @finalclass, we recently renamed the NS, DB, SC, user and pass properties to namespace, database, scope, username and password respectively to better align our ecosystem of SDKs. This was noted in the release notes of I believe, the v0.10.0 release 😃

Let me know if those changes work out for you

from surrealdb.js.

finalclass avatar finalclass commented on August 15, 2024

Make notice that here:
image

I'm just doing what is stated in README without executing the "USE" statement.

Moreover when I execute signin with the new parameter names:

    await this.db.signin({
      user: this.dbConfig.user,
      pass: this.dbConfig.pass,
      namespace: this.dbConfig.ns,
      database: this.dbConfig.db,
    });

I get the same result:

image

from surrealdb.js.

kearfy avatar kearfy commented on August 15, 2024

user -> username, pass -> password :)
I'll get those examples updated

from surrealdb.js.

finalclass avatar finalclass commented on August 15, 2024

Thanks a lot:)

from surrealdb.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.