Git Product home page Git Product logo

Comments (5)

SergejJurecko avatar SergejJurecko commented on June 12, 2024

"ACTOR type1(payments) CREATE" is a useless statement by itself. It just tells actordb where to go. Execute a select/insert/update after it like so:

"ACTOR type1(payments) CREATE; INSERT into ....;"

from actordb.

SergejJurecko avatar SergejJurecko commented on June 12, 2024

Or you can use thrift to generate a connector to ActorDB.

https://github.com/biokoda/actordb_thrift/blob/0.9pre9/adbt.thrift

from actordb.

SergejJurecko avatar SergejJurecko commented on June 12, 2024

Sorry I missed that you call Ping. Why not just ignore the error? If the purpose of ping is to check if connection to DB is still open, getting back that error means you are. The connection is still completely usable, at least form the ActorDB side.

from actordb.

mpdroog avatar mpdroog commented on June 12, 2024

Thnx for the advice and quick response, I'll be looking into it.

from actordb.

mpdroog avatar mpdroog commented on June 12, 2024

Okay ignored the error with ping, got the same error again after firing a query like:
ACTOR type1(payments) CREATE; SELECT * FROM a
So I guess the mysql/database library in Go isn't compatible.

Also did a look at Thrift, but the Go example feels very complex.

Thanks for the help but I'll be looking at other databases for solving my problem.

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.