Skip to content
forked from pupillord/tiny-cs

A tiny client and server for tinysql

Notifications You must be signed in to change notification settings

rebelice/tiny-cs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Client/Server

a tiny client and server for tinysql.

Start

// start server 
cd sql-server
go run .

// start client 
cd sql-client
go run .

// run some sql in client
create table student(int id, varchar name);
select * from student;

Note

  • There is no data in server, so you will only get "the query has been completed" for any sql query.
  • The result in server are defined in func handleQuery of conn.go.
  • The rules of protocol in Client/Server can be found in protocol.go

About

A tiny client and server for tinysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%