Skip to content

Commit 8eea3ff

Browse files
committed
Mark NewConnection deprecated
1 parent 75387d2 commit 8eea3ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chdb-purego/chdb.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ func (c *connection) Ready() bool {
149149
// NewConnection is the low level function to create a new connection to the chdb server.
150150
// using NewConnectionFromConnString is recommended.
151151
//
152+
// Deprecated: Use NewConnectionFromConnString instead. This function will be removed in a future version.
153+
//
152154
// Session will keep the state of query.
153155
// If path is None, it will create a temporary directory and use it as the database path
154156
// and the temporary directory will be removed when the session is closed.

0 commit comments

Comments
 (0)