Comments (11)
Hi there,
it seems very very weird.
Can you post the database?
Can it be that you have the data swapped in the database?
Cheers,
Simone
from redisql.
You can create a new database backed by a file:
REDISQL.CREATE_DB new test.sqlite
And then copy your db to the new one.
REDISQL.COPY DB new
And now in test.sqlite
there should be your original database.
Another alternative is running:
REDISQL.EXEC DB "SELECT C_TS FROM C_KAKOU;`
And print the result.
from redisql.
I'm very sorry, I don't understand what you mean too much. Could you please guide me in the specific operation?
from redisql.
Can you run this command:
REDISQL.EXEC DB "SELECT C_TS FROM C_KAKOU;"
What is the result?
from redisql.
According to the steps you know, the result of the execution is still the same, and the order of the columns is out of order.
-
- "AB3981"
- (integer) 1
- "2019-01-01 00:01:01.0"
- "jingzhou"
-
- "AB3982"
- (integer) 2
- "2019-01-01 00:01:02.0"
- "jingzhou"
-
- "AB3983"
- (integer) 3
- "2019-01-01 00:01:03.0"
- "jingzhou"
-
- "AB3984"
- (integer) 4
- "2019-01-01 00:01:04.0"
- "jingzhou"
-
- "AB3985"
- (integer) 5
- "2019-01-01 00:01:05.0"
- "jingzhou"
-
- "AB3986"
- (integer) 6
- "2019-01-01 00:01:06.0"
- "jingzhou"
-
- "AB3987"
- (integer) 7
- "2019-01-01 00:01:07.0"
- "jingzhou"
-
- "AB3988"
- (integer) 8
- "2019-01-01 00:01:08.0"
- "jingzhou"
-
- "AB3989"
- (integer) 9
- "2019-01-01 00:01:09.0"
- "jingzhou"
-
- "AB3990"
- (integer) 10
- "2019-01-01 00:01:10.0"
- "jingzhou"
-
- "AD3981"
- (integer) 1
- "huangshi"
- "2019-01-01 00:01:01.0"
-
- "AD3982"
- (integer) 2
- "huangshi"
- "2019-01-01 00:01:02.0"
-
- "AD3983"
- (integer) 3
- "huangshi"
- "2019-01-01 00:01:03.0"
-
- "AD3984"
- (integer) 4
- "huangshi"
- "2019-01-01 00:01:04.0"
-
- "AD3985"
- (integer) 5
- "huangshi"
- "2019-01-01 00:01:05.0"
-
- "AD3986"
- (integer) 6
- "huangshi"
- "2019-01-01 00:01:06.0"
-
- "AD3987"
- (integer) 7
- "huangshi"
- "2019-01-01 00:01:07.0"
-
- "AD3988"
- (integer) 8
- "huangshi"
- "2019-01-01 00:01:08.0"
-
- "AD3989"
- (integer) 9
- "huangshi"
- "2019-01-01 00:01:09.0"
-
- "AD3990"
- (integer) 10
- "huangshi"
- "2019-01-01 00:01:10.0"
from redisql.
Hello,
can you please run this query?
REDISQL.EXEC DB "SELECT C_TS FROM C_KAKOU;"
Note that we are selecting only the C_TS
column, not all.
Thanks,
Simone
from redisql.
After your sorting out, I seriously suspect that my code has a bug when inserting data, thank you very much!
from redisql.
SQLite has dynamic typing for the columns of the database. So the type that you declare is an invite, it is not really a constraint.
Sometimes is very useful, some time can end up in this kind of problem.
Cheers,
Simone
from redisql.
Thank you for your detailed answers. I have located a bug that caused me to be out of order when inserting data. Thanks again!
from redisql.
Great!
I will close the issue.
from redisql.
Aw congrats on opening your first issue on github!
from redisql.
Related Issues (20)
- Confused on the Pro Version - Latest Stable Release HOT 6
- extension load HOT 5
- how can i use rediSQL to save a picture to redis HOT 6
- redis bgsave run 48 hours ,but no data in the memory was dumped into the .rdb file HOT 15
- C++ example HOT 3
- can‘t exec CREATE TABLE HOT 2
- Bulk insert HOT 5
- .NET Core Tutorial Request HOT 2
- Redissql with JAVA HOT 1
- ramp packer HOT 2
- benchmarks HOT 2
- cargo build failed
- Documentation link is broken HOT 4
- 32bit build HOT 9
- Can this be compiled to web assembly ? HOT 4
- RediSQL in .net core HOT 4
- Remove RediSQL from Redis HOT 1
- Considering closing the repo HOT 12
- Build for Windows HOT 4
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 redisql.