We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import { Column, Entity, PrimaryGeneratedColumn} from 'typeorm';
@entity({ name: 'time_table' }) export class TestTime { @PrimaryGeneratedColumn({ name: 'id' }) id: number
@column({ name: 'start_time', type: 'datetime' }) startTime: Date;
@column({ name: 'end_time' }) endTime: Date;
} export default TestTime;
const testRepo = getRepository(TestTime); const testTimes = [{ startTime, endTime }]; return await testRepo.save(testTimes);
// include the output in code tags like these!
// insert code here
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
import { Column, Entity, PrimaryGeneratedColumn} from 'typeorm';
@entity({
name: 'time_table'
})
export class TestTime {
@PrimaryGeneratedColumn({
name: 'id'
})
id: number
@column({
name: 'start_time',
type: 'datetime'
})
startTime: Date;
@column({
name: 'end_time'
})
endTime: Date;
}
export default TestTime;
const testRepo = getRepository(TestTime);
const testTimes = [{
startTime,
endTime
}];
return await testRepo.save(testTimes);
Expected Behavior
Actual Behavior
Steps to Reproduce
// insert code here
My Environment
Additional Context
Relevant Database Driver(s)
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: