mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-28 13:34:24 +01:00
Initial pass on step function
This commit is contained in:
@@ -64,7 +64,9 @@ class JDBC4ConnectionTest {
|
||||
@Test
|
||||
void exec_simple_create_table() throws Exception {
|
||||
Statement stmt = createDefaultStatement();
|
||||
stmt.execute("CREATE TABLE users (id PRIMARY KEY INT, username TEXT)");
|
||||
stmt.execute("CREATE TABLE users (id INT PRIMARY KEY, username TEXT);");
|
||||
stmt.execute("INSERT INTO users VALUES (1, 'seonwoo');");
|
||||
stmt.execute("SELECT * FROM users;");
|
||||
}
|
||||
|
||||
private Statement createDefaultStatement() throws SQLException {
|
||||
|
||||
Reference in New Issue
Block a user