-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not handle object of objects #9
Comments
I would recommend using Nontheless I implemented importing JSON objects in the latest v0.4 version. Check out whether that works for you. https://github.com/lukasmartinelli/pgfutter#import-single-json-object |
This feature has been released in v0.4. pgfutter jsonobj document.json |
What does this command do? There is no CLI output or database record..
|
It should create a database record. |
I have a large (~2GB) JSON file that is a backup of a Firebase database. It is arranged as an object of objects (e.g.: {"objectA": {}, "objectB": [{},{}], "objectC": {}} ). When I import with pgfutter, I get "0 rows imported", even though pgfutter does seem to go through the whole file fairly quickly (less than 2 minutes).
I have experimented with trying to split the file with jq and writing my own stream-parsing code, but none of it seems to give me anything I can actually import properly with pgfutter. Can you help please?
The text was updated successfully, but these errors were encountered: