Skip to content

Commit c1c7eaf

Browse files
doc/md: fixed code snippet in ydb docs (#17)
1 parent df0c934 commit c1c7eaf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/md/ydb.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ YDB support is currently in **preview** and requires the [Atlas migration engine
1515

1616
## Opening a Connection
1717

18-
To connect to YDB, use the `ydb.Open()` function from the `entgo.io/ent/dialect/ydb` package:
18+
To connect to YDB, use the standard `ent.Open()` function with the `"ydb"` dialect:
1919

2020
```go
2121
package main
@@ -25,8 +25,6 @@ import (
2525
"log"
2626

2727
"entdemo/ent"
28-
29-
"entgo.io/ent/dialect/ydb"
3028
)
3129

3230
func main() {

0 commit comments

Comments
 (0)