mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fixed links
This commit is contained in:
parent
73da9cd2b1
commit
0e2a0c0c4e
@ -178,7 +178,7 @@ const userRepository = connection.getCustomRepository(UserRepository);
|
||||
const timber = await userRepository.findByName("Timber", "Saw");
|
||||
```
|
||||
|
||||
For more information about custom repositories refer [this documentation](working-with-entity-manager.md#custom-repositories).
|
||||
Learn more about [custom repositories](working-with-entity-manager.md#custom-repositories).
|
||||
|
||||
## Which one should I choose?
|
||||
|
||||
|
||||
@ -180,7 +180,7 @@ See [SSL options](https://github.com/mysqljs/mysql#ssl-options).
|
||||
|
||||
* `size` - The size of the database
|
||||
|
||||
## `cordova`connection options
|
||||
## `cordova` connection options
|
||||
|
||||
* `database` - Database name
|
||||
|
||||
|
||||
@ -69,7 +69,7 @@ Example:
|
||||
export class User {
|
||||
```
|
||||
|
||||
Learn more about [Entities](#/entities).
|
||||
Learn more about [Entities](entities.md).
|
||||
|
||||
## Column decorators
|
||||
|
||||
@ -99,7 +99,7 @@ export class User {
|
||||
|
||||
`@Column` accept several options you can use:
|
||||
|
||||
* `type: ColumnType` - Column type. One of the [supported column types](#/entities/column-types).
|
||||
* `type: ColumnType` - Column type. One of the [supported column types](entities.md#column-types).
|
||||
* `name: string` - Column name in the database table.
|
||||
By default the column name is generated from the name of the property.
|
||||
You can change it by specifying your own name
|
||||
@ -122,7 +122,7 @@ Used in some column types.
|
||||
You can specify array of values or specify a enum class.
|
||||
* `array: boolean` - Used for postgres column types which can be array (for example int[])
|
||||
|
||||
Learn more about [entity columns](#/entities/entity-columns).
|
||||
Learn more about [entity columns](entities.md#entity-columns).
|
||||
|
||||
#### `@PrimaryColumn`
|
||||
|
||||
@ -140,7 +140,7 @@ export class User {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [entity columns](#/entities/entity-columns).
|
||||
Learn more about [entity columns](entities.md#entity-columns).
|
||||
|
||||
#### `@PrimaryGeneratedColumn`
|
||||
|
||||
@ -175,7 +175,7 @@ export class User {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [entity columns](#/entities/entity-columns).
|
||||
Learn more about [entity columns](entities.md#entity-columns).
|
||||
|
||||
#### `@ObjectIdColumn`
|
||||
|
||||
@ -194,7 +194,7 @@ export class User {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [MongoDB](#/mongodb).
|
||||
Learn more about [MongoDB](mongodb.md).
|
||||
|
||||
#### `@CreateDateColumn`
|
||||
|
||||
@ -284,7 +284,7 @@ export class User {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [one-to-one relations](#/one-to-one-relations).
|
||||
Learn more about [one-to-one relations](one-to-one-relations.md).
|
||||
|
||||
#### `@ManyToOne`
|
||||
|
||||
@ -312,7 +312,7 @@ export class Photo {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [many-to-one / one-to-many relations](#/many-to-one-one-to-many-relations).
|
||||
Learn more about [many-to-one / one-to-many relations](many-to-one-one-to-many-relations.md).
|
||||
|
||||
#### `@OneToMany`
|
||||
|
||||
@ -340,7 +340,7 @@ export class User {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [many-to-one / one-to-many relations](#/many-to-one-one-to-many-relations).
|
||||
Learn more about [many-to-one / one-to-many relations](many-to-one-one-to-many-relations.md).
|
||||
|
||||
#### `@ManyToMany`
|
||||
|
||||
@ -372,7 +372,7 @@ export class Question {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [many-to-many relations](#/many-to-many-relations).
|
||||
Learn more about [many-to-many relations](many-to-many-relations.md).
|
||||
|
||||
#### `@JoinColumn`
|
||||
|
||||
@ -484,7 +484,7 @@ export class Post {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [listeners](#/listeners-and-subscribers).
|
||||
Learn more about [listeners](listeners-and-subscribers.md).
|
||||
|
||||
#### `@BeforeInsert`
|
||||
|
||||
@ -502,7 +502,7 @@ export class Post {
|
||||
}
|
||||
}
|
||||
```
|
||||
Learn more about [listeners](#/listeners-and-subscribers).
|
||||
Learn more about [listeners](listeners-and-subscribers.md).
|
||||
|
||||
#### `@AfterInsert`
|
||||
|
||||
@ -521,7 +521,7 @@ export class Post {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [listeners](#/listeners-and-subscribers).
|
||||
Learn more about [listeners](listeners-and-subscribers.md).
|
||||
|
||||
#### `@BeforeUpdate`
|
||||
|
||||
@ -540,7 +540,7 @@ export class Post {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [listeners](#/listeners-and-subscribers).
|
||||
Learn more about [listeners](listeners-and-subscribers.md).
|
||||
|
||||
#### `@AfterUpdate`
|
||||
|
||||
@ -559,7 +559,7 @@ export class Post {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [listeners](#/listeners-and-subscribers).
|
||||
Learn more about [listeners](listeners-and-subscribers.md).
|
||||
|
||||
#### `@BeforeRemove`
|
||||
|
||||
@ -578,7 +578,7 @@ export class Post {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [listeners](#/listeners-and-subscribers).
|
||||
Learn more about [listeners](listeners-and-subscribers.md).
|
||||
|
||||
#### `@AfterRemove`
|
||||
|
||||
@ -597,7 +597,7 @@ export class Post {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [listeners](#/listeners-and-subscribers).
|
||||
Learn more about [listeners](listeners-and-subscribers.md).
|
||||
|
||||
#### `@EventSubscriber`
|
||||
|
||||
@ -644,7 +644,7 @@ export class PostSubscriber implements EntitySubscriberInterface {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [subscribers](#/listeners-and-subscribers).
|
||||
Learn more about [subscribers](listeners-and-subscribers.md).
|
||||
|
||||
## Other decorators
|
||||
|
||||
@ -688,7 +688,7 @@ export class User {
|
||||
}
|
||||
```
|
||||
|
||||
Learn more about [indices](#/indices).
|
||||
Learn more about [indices](indices.md).
|
||||
|
||||
#### `@Transaction`, `@TransactionManager` and `@TransactionRepository`
|
||||
|
||||
@ -722,7 +722,7 @@ save(@QueryParam("name") name: string, @TransactionRepository() userRepository:
|
||||
Note: all operations inside a transaction MUST ONLY use the provided instance of `EntityManager` or injected repositories.
|
||||
Using any other source of queries (global manager, global repositories, etc.) will lead to bugs and errors.
|
||||
|
||||
Learn more about [transactions](#/transactions).
|
||||
Learn more about [transactions](transactions.md).
|
||||
|
||||
#### `@EntityRepository`
|
||||
|
||||
@ -741,7 +741,7 @@ export class UserRepository {
|
||||
You can obtain any custom created repository using `connection.getCustomRepository`
|
||||
or `entityManager.getCustomRepository` methods.
|
||||
|
||||
Learn more about [custom entity repositories](#/working-with-entity-manager).
|
||||
Learn more about [custom entity repositories](working-with-entity-manager.md).
|
||||
|
||||
----
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user