typeorm APIs
- Column
- Entity
- PrimaryGeneratedColumn
- createConnection
- CreateDateColumn
- ManyToOne
- OneToMany
- UpdateDateColumn
- Repository
- JoinColumn
- QueryRunner
- Connection
- MigrationInterface
- getRepository
- getConnection
- BaseEntity
- OneToOne
- JoinTable
- PrimaryColumn
- Index
- ManyToMany
- Table
- EntityRepository
- SelectQueryBuilder
- In
- ConnectionOptions
- BeforeInsert
- Not
- getManager
- Brackets
- Unique
- TableColumn
- MoreThan
- TableForeignKey
- BeforeUpdate
- IsNull
- EntityManager
- ObjectType
- ObjectIdColumn
- RelationId
- getCustomRepository
- FindOneOptions
- MongoRepository
- ObjectID
- getConnectionManager
- DeleteDateColumn
- FindConditions
- MoreThanOrEqual
- getMongoRepository
- Generated
- DeepPartial
- LessThan
- ValueTransformer
- LessThanOrEqual
- FindManyOptions
- Like
- EntitySchema
- Raw
- VersionColumn
- AfterLoad
- DeleteResult
- EventSubscriber
- EntitySubscriberInterface
- InsertEvent
- createQueryBuilder
- createConnections
- getConnectionOptions
- DefaultNamingStrategy
- ObjectLiteral
- ILike
- Between
- Logger
- TreeRepository
- DataSource
- TableIndex
- WhereExpressionBuilder
- useContainer
- EntityTarget
- SaveOptions
- FindOperator
- ConnectionOptionsReader
- EntityMetadata
- RemoveEvent
- InsertResult
- UpdateEvent
- TreeChildren
- TreeParent
- DeleteQueryBuilder
- ChildEntity
- WhereExpression
- ViewEntity
- getMetadataArgsStorage
- OrderByCondition
- AfterInsert
- AfterUpdate
- BeforeRemove
- Timestamp
- QueryFailedError
- UpdateResult
- Equal
- UpdateQueryBuilder
- ColumnType
- ColumnOptions
- InstanceChecker
- DataSourceOptions
Other Related APIs
typeorm#ColumnType TypeScript Examples
The following examples show how to use
typeorm#ColumnType.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: column-mapper.utility.ts From bulwark with MIT License | 6 votes |
mysqlSqliteTypeMapping: { [key: string]: ColumnType } = {
mediumblob: 'blob'
}
Example #2
Source File: column-mapper.utility.ts From bulwark with MIT License | 6 votes |
resolveDbType = (mySqlType: ColumnType): ColumnType => {
const isTestEnv = process.env.NODE_ENV === 'test';
if (isTestEnv && mySqlType.toString() in mysqlSqliteTypeMapping) {
return mysqlSqliteTypeMapping[mySqlType.toString()];
}
return mySqlType;
}