Comments (10)
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.
@dtrigo if you do not have a sync_table you cannot export the data
from sqlite.
@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.
@dtrigo Thanks for your comment i will make the fix
from sqlite.
@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.
@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.
@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.
@jepiqueau That would be perfect! Thanks
from sqlite.
@dtrigo Fixed in 5.5.2
from sqlite.
@jepiqueau Nice! Thanks
from sqlite.
Related Issues (20)
- Bug(Android): Calling `run` method with `BEGIN` statement throws StringOutOfBoundIndexException HOT 16
- WAL mode with typeorm stopped working from version 0.3.18 HOT 9
- Is this plugin still maintained in 2024? HOT 2
- "CapacitorSQLite" plugin is not implemented on ios HOT 4
- ionic7-angular-sqlite-app tutorial ionic.config.json type angular-standalone doesn't exist HOT 1
- ionic7-angular-sqlite-app tutorial fails on v5.7.1 HOT 6
- GetFromHTTPRequest not working HOT 3
- Multi Row Statement does not escape characters HOT 4
- Multiple Row Statement Values case insensitive HOT 3
- Multirow statements inserts wrong semicolon HOT 2
- foreign key ON DELETE CASCADE HOT 1
- Create CapacitorJS v6 package compatibility HOT 41
- ExecuteTransaction with values throws exception for statements performing no actual changes HOT 5
- Memory leak using .saveToStore() HOT 18
- Migration not working on iOS HOT 3
- executeSet not inserting rows HOT 8
- Multi Value Statement error with spaces inbetween ? HOT 1
- Multi row statement should fail if no values are replaced HOT 5
- Can I use this plugin inside the background runner capacitor plugin? HOT 2
- Update Capacitor dependencies to version >6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlite.