Git Product home page Git Product logo

Comments (3)

SergejJurecko avatar SergejJurecko commented on June 12, 2024

"use config" tells console app that exec_config will be used.

Every SQL statement must have ; at the end. Console will add it if it is not present.

commit tells console to call exec_config with all statements in a single string since last commit call.

list flags are direct strings of flags we have documented in 4.2: "create" and "safe"

from actordb.

danielcrenna avatar danielcrenna commented on June 12, 2024

Thanks for taking the time to answer.

So is there no way to retrieve a list of all users?

I was reading the init.sql example too literally, missing the ; delimiting and incorporating console-only commands. I also assumed that each statement should be on a new line, even connected statements like CREATE USER ... followed by GRANT ... on a new line in init.sql.

Calling exec_config("CREATE USER 'myuser' IDENTIFIED BY 'mypass' GRANT read,write ON * to 'myuser';"); does the job. Thanks for your help!

from actordb.

danielcrenna avatar danielcrenna commented on June 12, 2024

Taking my users question to gitter, everything else is solved.

from actordb.

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.