Things I have encountered:
-
"target": "esnext"
-
Property 'name' has no initializer and is not definitely assigned in the constructor. -
"strictPropertyInitialization": false,
intsconfig.json
-
So many instances of
Please do npm i --save-dev @types/blah
-
Cannot find module `@karimsa/tinyorm`
- Installed the wrong version -
Error: relation "tinyorm.migrations" does not exist
- need to callinitMigrations
-
Error: Cannot rerun migration
- need to be globally unique -
Tried to do auto-migrations with
executeMigrations
- can useconn.synchronizeEntity
instead -
Was confused for a bit because some methods are on
pool
and others are onconn
-
Was confused for a bit because
@Column({ defaultValue: n })
requires aPreparedQuery
-
Generated columns? set a default value in the migration, then don't ask for the column on insert
- Online Docs are incomplete here
- How do i generate UUIDv4 stuffs with current API
- It seems the TSDocs actually have an example for exactly what I'm trying to do, but that example isn't on the online docs
- OK actually the docs exist but the
params
section is kinda blank and I missed the link toColumnOptions
in the description, so I assumed the page was actually essentially blank and ignored it.
-
Why is
createSimpleQueryBuilder().from(User)
not justcreateSimpleQueryBuilder(User)
or alternativelySimpleQUeryBuilder.from(User)
-
UNSOLVED Foreign keys don't exist yet
-
Can't do
addRows
for ALL rows without listing them inwithColumns
(suggestion:omittingColumns
) -
UNSOLVED Column renames don't seem to work
-
UNSOLVED Columns with a
uuid
type don't really work with insertion query builders -
UNSOLVED
defaultValue
stopped getting generated bysyncEntity
- It works on the second run through I think? But not from a blank slate? unsure
-
UNSOLVED Missing updates