Repository navigation
0.3.3
Minor update where we changed the logic of Repository#clone
Added
TableFieldStrings
export type TableFieldStrings<T> = (keyof T)[]Description of exception while creating the table
ModularORMException: Error when executing table ranks. Table didnt created: Error: Cannot add foreign key constraint
Changes
Improve Repository#clone logic
SQL before:
SELECT * FROM users WHERE users = "Alice"
INSERT INTO users (name, age) VALUES ("Boris"...)
...SQL After
INSERT INTO users (name, age) SELECT "Boris", age FROM users WHERE name = "Alice"