Skip to content

Commit 282b324

Browse files
author
Carl Sverre
committed
added basic example
1 parent f1244d2 commit 282b324

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/basic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from memsql.common import database
2+
3+
conn = database.connect(host="127.0.0.1", port=3306, user="root", password="")
4+
print(conn.query("show databases"))

0 commit comments

Comments
 (0)