Comments (3)
Good catch :)
That's imposed by Userbase, with some relevant notes:
-
The underlying items stored in Prinvoice are unnecessarily large because they have a ton of unnecessary whitespace. If you open up the dev console while you're creating an invoice, you'll see clean SQL statements with all that extra unnecessary whitespace. That whitespace could easily be trimmed, and items (and invoices) could therefore be much larger.
-
I could change userbase-sql.js a bit to store larger SQL statements as files, and that would work ok. I'm actually using this pattern in a new piece of software I'm working on that's using Userbase, I'll link to it here to show you how it can be done :)
from prinvoice.
I see. Thanks for the explanation! Looking forward for the link so I can try it in my machine.
from prinvoice.
Check this out:
- if an item exceeds the limit, I upload it as a file
- then when loading a database, I check if the item is stored as a file, then retrieve the file
from prinvoice.
Related Issues (3)
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 prinvoice.