Git Product home page Git Product logo

Comments (10)

dtrigo avatar dtrigo commented on June 12, 2024

By the way, modifying the code to

case "PRIMARY" -> {
oPar = sc.indexOf("(");
cPar = sc.indexOf(")");
String pk = sc.substring(oPar + 1, cPar);
row[0] = "CPK_" + pk.replaceAll("ยง", "");
row[0] = row[0].replaceAll("
", "_");
row[1] = sc.substring(cPar + 1);
jsonRow.setConstraint(row[0]);
}

makes it work as expected

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@dtrigo if you do not have a sync_table you cannot export the data

from sqlite.

dtrigo avatar dtrigo commented on June 12, 2024

@dtrigo if you do not have a sync_table you cannot export the data

So...It wouldn't be more accurate giving that error when the function is called?

It feels a bit odd since there are some checks for that data when export is partial....

Moreover, since the error given is accesing an string index out of bounds

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@dtrigo Thanks for your comment i will make the fix

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@dtrigo what are the reason behind exporting ร  database whithout having a sync table the issue you had was really ร  bug in Java so i would like to understand your user case so i can reopen the way of exporting whithout a sync table . Can you answer me quickly please

from sqlite.

dtrigo avatar dtrigo commented on June 12, 2024

@jepiqueau Our usecase is that our app deeply relies on SQLite, specially important on non-network-online zones, sometimes (rare) we need to analize what's inside the sqlite to debug a process. Let's say, It would be nice to have to fully undestand what's happening when something goes bad

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@dtrigo and for this you are using exportToJson. I will put back the ability to run exportToJson without having a sync_table. Is that ok for you

from sqlite.

dtrigo avatar dtrigo commented on June 12, 2024

@jepiqueau That would be perfect! Thanks

from sqlite.

jepiqueau avatar jepiqueau commented on June 12, 2024

@dtrigo Fixed in 5.5.2

from sqlite.

dtrigo avatar dtrigo commented on June 12, 2024

@jepiqueau Nice! Thanks

from sqlite.

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.