Documentation ¶
Index ¶
Constants ¶
const SQLiteExportDBVersion = "v0.0.5"
SQLiteExportDBVersion is in semver format (https://semver.org/) What constitutes the various levels of change: * Anything with a pre-release tag is a wildcard. You can do whatever you want * Patch version is when the changes could not possibly break existing queries:
- Cosmetic changes, like comments
- Adding a constraint, index (since this is a change from the generator side)
- Adding a view
- Adding a table
- NOTE: Adding a field is explicitly excluded from patch level changes as that can break `SELECT * FROM` style queries
- NOTE: This is unikely to be used, and should only be if the change is really and clearly "tame".
* Minor changes are changes like:
- Adding a field
- Changing a view/stored procedure while maintaining the In/Out signature
- NOTE: You should be quick to bump the minor version if there is any suspicion that the change could have impact on existing queries, but is stil (on "paper") backwards compatible
- NOTE: Changing column types is a major change, because of static langs
* Major change: Everything else
Variables ¶
This section is empty.
Functions ¶
func DoExport ¶
DoExport exports some key data into a SQLite DB and uploads that to the provided S3 bucket It then returns a pre-signed link to the file that remains valid for 1 hour
The rest if the functions in this file are not exported because they are currently dependent on each other and are basically split only on order to understand the flow better.