Skip to content

Commit 56dc6bb

Browse files
author
lizhou1111
committed
add doc
1 parent e6cce0f commit 56dc6bb

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

docs/modules/databases/jdbc.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ Insert `tc:` after `jdbc:` as follows. Note that the hostname, port and database
8787

8888
`jdbc:tc:tidb:v6.1.0:///databasename`
8989

90+
#### Using TiDB
91+
92+
`jdbc:tc:timeplus:2.3.3:///databasename`
93+
9094
#### Using Trino
9195

9296
`jdbc:tc:trino:352://localhost/memory/default`

docs/modules/databases/timeplus.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# timeplus Module
2+
3+
## Adding this module to your project dependencies
4+
5+
Add the following dependency to your `pom.xml`/`build.gradle` file:
6+
7+
=== "Gradle"
8+
```groovy
9+
testImplementation "org.testcontainers:timeplus:{{latest_version}}"
10+
```
11+
12+
=== "Maven"
13+
```xml
14+
<dependency>
15+
<groupId>org.testcontainers</groupId>
16+
<artifactId>timeplus</artifactId>
17+
<version>{{latest_version}}</version>
18+
<scope>test</scope>
19+
</dependency>
20+
```
21+
22+
!!! hint
23+
Adding this Testcontainers library JAR will not automatically add a database driver JAR to your project. You should ensure that your project also has a suitable database driver as a dependency.
24+

0 commit comments

Comments
 (0)