Giter VIP home page Giter VIP logo

Comments (11)

ptupitsyn avatar ptupitsyn commented on June 12, 2024

There is a third-party Ignite client: https://github.com/amsokol/ignite-go-client

Even though it has not been updated for some time, it should still work with latest Ignite versions, because client protocol is backwards-compatible.

from ignite.

Linuxlovers avatar Linuxlovers commented on June 12, 2024

I didn't see any support for transactions in this third-party package. Assuming the transaction statement is as follows
BEGIN TRANSACTION;

UPDATE account SET balance=balance -100 WHERE id=1;
Update account SET balance=balance+100 WHERE id=2;

COMMIT;

can i directly use c Is it executed using the QuerySQLFields method?

from ignite.

ptupitsyn avatar ptupitsyn commented on June 12, 2024

https://ignite.apache.org/docs/2.15.0/sql-reference/transactions

from ignite.

shishkovilja avatar shishkovilja commented on June 12, 2024

@ptupitsyn , @Linuxlovers , transactional SQL was removed since 2.16 (strictly speaking, TRANSACTIONAL_SNAPSHOT atomicity mode was removed).

from ignite.

Linuxlovers avatar Linuxlovers commented on June 12, 2024

So, after removing the transaction, are there any other usage scenarios for this in memory database?

from ignite.

ptupitsyn avatar ptupitsyn commented on June 12, 2024

are there any other usage scenarios for this in memory database?

  1. It is not only in-memory, you can enable persistence or use third-party storage
  2. All other use cases are available, such as SQL, caching, Compute
  3. There is also a RESTful API
  4. Finally, if something is missing in the Go SDK or RESTful API, you can always implement it as a Java compute task and call that from Go or any other language. Consider Java as our DSL.

from ignite.

ptupitsyn avatar ptupitsyn commented on June 12, 2024

@Linuxlovers a new Go client was just released by a third party: https://gitverse.ru/sbertech/ignite-go-client

No transactions yet, but I hear that they are coming soon.

from ignite.

Linuxlovers avatar Linuxlovers commented on June 12, 2024

I can't register for that platform. Can you please ask them to support SQL and transactions as soon as possible

from ignite.

lyonxh avatar lyonxh commented on June 12, 2024

in this third-party client,i can't set key expire time

from ignite.

lyonxh avatar lyonxh commented on June 12, 2024

none rust sdk too

from ignite.

lyonxh avatar lyonxh commented on June 12, 2024

may be i can use TiDB

from ignite.

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.