rust-workshop => backend-rust

This commit is contained in:
folex
2019-08-16 16:49:07 +03:00
parent b85eea0963
commit 92af937fc7
31 changed files with 30 additions and 324 deletions

View File

@ -3,7 +3,7 @@ import {query} from "../node_modules/db-connector/assembly/sqlite"
// main handler for an application
export function handler(username: string): string {
// Create table for messages storage
// Create table for messages storage
query(`CREATE TABLE messages(msg text, username text)`);
// Insert message 'Hello, username!' using `username` as author's username