Comments (11)
Here you go: json1
from sqlean.
Amazing! Thank you so much @nalgeon
from sqlean.
The json1 extension comes with the amalgamation file already.
from sqlean.
When compiling with make or what ever your choice is pass -DSQLITE_ENABLE_JSON1=1
from sqlean.
I was under the impression that since your version was already a precompiled binary, folks wouldn't have to go thru with compiling from the source with various combinations of flags. I personally have not had much luck in successfully compiling their latest stable version locally. I’ve also looked over their docs multiple times only to give up in frustration and go with sudo apt install (which from what I can tell) does not come with JSON1 support.
from sqlean.
Robby, Mathew @warmwaffles is not the maintainer, so don't blame him, blame me ツ Just as a clarification: how do you use SQLite binary? Are you using some language-specific wrapper, calling it from C or using a shell?
from sqlean.
@djrobby alsa check the pragma compile options because it comes standard with ubuntu 16.04 https://stackoverflow.com/questions/49043084/sqlite-on-ubuntu-16-04-with-json1
PRAGMA compile_options;
@nalgeon I don't know how feasible it is to actually pull that part of sqlite3 out and compile it as a standalone module.
from sqlean.
Thanks guys, sorry for the trouble. @nalgeon I was not trying to put the blame on anyone. It was merely a request based on my personal experience trying to compile SQLite locally. For now, I’ll explore other viable options and close this issue. Thanks again!
from sqlean.
No problem at all! I'm not against adding JSON1 extension, I just don't understand your use case. Will be glad to help if you answer my previous questions.
from sqlean.
Hi @nalgeon, for my specific use case, I've created a small API endpoint using Crystal lang's sqlite3 lib @ https://github.com/crystal-lang/crystal-sqlite3 that accepts data from various servers broadcasting app specific metrics via https://github.com/timberio/vector. As of right now, the volume is approx. 250k records/day and I was looking to convert the data stream over JSON to be able to store into SQLite. Our specific workflow with SQLite is essentially: ingest, summarize, export, compress and backup on daily basis. We start every day with a fresh SQLite db named yyyy_mm_dd_svr_xxx.db. I hope this helps answer your question.
from sqlean.
Thanks! I'll see what I can do.
from sqlean.
Related Issues (20)
- pivotvtab fails on M1 Pro MacBook HOT 12
- Python packages for sqlean extensions HOT 11
- Wishing for Row->JSON-Object conversion HOT 1
- Q: Way to static link all these into a single library? HOT 8
- Q: multiple update HOT 21
- sqlite3-json1.c missing in src folder HOT 1
- Define--> What does undefine() and define_free() actually do? HOT 8
- one file dll, is it possible ? HOT 1
- Problem with regexp_replace HOT 2
- Problem install extensions into SQLite Browser HOT 10
- wasm module HOT 6
- Feature request: a Base32/64 (en/de)coder for 'crypto' HOT 5
- Amalgamation build HOT 2
- Call for Feedback HOT 5
- Problems trying to use loadExtension and 'better-sqlite3' HOT 4
- Flag potential security risks in extensions HOT 2
- IP address integer to string and string to integer functions HOT 2
- varargs for hashing? HOT 6
- Is there a precompiled binaries for Android (Java or Kotlin)? HOT 7
- sqlean and fileio complain about GLIBC_2.33 missing HOT 1
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 sqlean.