Commit graph

256 commits

Author SHA1 Message Date
Yuriy Dupyn
f9b874f302 Simplify select_all and delete_all 2023-12-29 06:33:30 +01:00
Yuriy Dupyn
6b58c3cb9b Reorganization 2023-12-29 06:03:04 +01:00
Yuriy Dupyn
3c57b0eb6c Add an example to fn main() 2023-12-28 14:39:36 +01:00
Yuriy Dupyn
5e4abc3cb1 Simplify select_where, delete_where 2023-12-28 14:39:13 +01:00
Yuriy Dupyn
291f90ef03 cleanup 2023-12-28 14:03:38 +01:00
Yuriy Dupyn
14f4fe4f3b Test delete 2023-12-28 12:56:16 +01:00
Yuriy Dupyn
dc3e9b0077 Add some basic tests 2023-12-28 12:33:00 +01:00
Yuriy Dupyn
e111c4fc61 Implement proper index creation 2023-12-28 10:49:32 +01:00
Yuriy Dupyn
c8e398a238 Implement select_columns 2023-12-28 09:55:42 +01:00
Yuriy Dupyn
bd3dbe2365 Merge remote-tracking branch 'origin/main' into interpreter 2023-12-28 09:37:48 +01:00
Yuriy Dupyn
eb8410718d Fix typos 2023-12-28 09:27:55 +01:00
Jindřich Moravec
84d9fa2d50 feat(proto): add example server 2023-12-23 23:40:45 +01:00
Jindřich Moravec
0318169876 feat(proto): add example client 2023-12-23 23:40:31 +01:00
Jindřich Moravec
75b067762e fix(proto): move handshake response instead of borrowing 2023-12-23 01:31:49 +01:00
Jindřich Moravec
a08376766c chore(proto): crate formatting 2023-12-23 01:28:30 +01:00
Jindřich Moravec
505f59b354 fix(proto): flush written startup message 2023-12-23 01:27:15 +01:00
Jindřich Moravec
c1744711d3 refactor(proto): reuse code in handshakes 2023-12-23 00:52:53 +01:00
Jindřich Moravec
7b2dce4dfb feat(proto): add client handshake implementation 2023-12-23 00:29:40 +01:00
Jindřich Moravec
df4c4166d9 feat(proto): add methods for sending startup and cancel messages 2023-12-22 23:56:52 +01:00
Jindřich Moravec
7185c10979 feat(proto): add proto crate to workspace 2023-12-15 16:41:02 +01:00
Jindřich Moravec
5804da5761 Merge branch 'main' into protocol 2023-12-15 16:33:16 +01:00
Jindřich Moravec
b97f23764f refactor(proto): remove anyhow dependency 2023-12-15 16:32:02 +01:00
Jindřich Moravec
165f871324 refactor(proto): replace anyhow with thiserror in handshake 2023-12-15 16:31:10 +01:00
Jindřich Moravec
da6410ce05 refactor(proto): replace anyhow with thiserror in readers 2023-12-15 16:21:51 +01:00
Jindřich Moravec
58c69928a1 refactor(proto): replace anyhow with thiserror in writers 2023-12-15 15:58:11 +01:00
Jindřich Moravec
bf885670c6 Merge branch 'cargo-workspace' into 'main'
Create cargo workspace

See merge request x433485/minisql!3
2023-12-14 19:14:53 +01:00
Jindřich Moravec
bb39d138d8 refactor(proto): start replacing anyhow with thiserror 2023-12-12 19:31:27 +01:00
Jindřich Moravec
f0db73b38e chore: create cargo workspace 2023-12-11 23:20:19 +01:00
Yuriy Dupyn
77f4ae514e Implement index removal 2023-12-11 22:09:26 +01:00
Yuriy Dupyn
0aa3b28e74 Refine CREATE TABLE and CREATE INDEX 2023-12-11 21:59:01 +01:00
Yuriy Dupyn
d555e8565f First attempt at DELETE 2023-12-11 21:36:13 +01:00
Yuriy Dupyn
e0876bb0f1 First attempt at UPDATE 2023-12-11 20:07:04 +01:00
Yuriy Dupyn
20615508a2 First attempt at SELECT 2023-12-11 17:51:17 +01:00
Jindřich Moravec
dbd0ef3970 feat(proto): add server handshake handler 2023-12-11 16:54:41 +01:00
Jindřich Moravec
393bc0a751 feat(proto): add backend message reader 2023-12-11 16:54:12 +01:00
Jindřich Moravec
0a6e486005 feat(proto): add frontend message reader 2023-12-11 16:54:02 +01:00
Jindřich Moravec
413e0216e3 feat(proto): add generic proto reader 2023-12-11 16:53:21 +01:00
Jindřich Moravec
67af05ea42 feat(proto): add frontend message writer 2023-12-11 16:50:33 +01:00
Jindřich Moravec
225f9e43d3 feat(proto): add backend message writer 2023-12-11 16:50:06 +01:00
Jindřich Moravec
0a3683e2fa feat(proto): add generic proto writer 2023-12-11 16:49:30 +01:00
Jindřich Moravec
65f90ba600 feat(proto): add special messages 2023-12-11 16:44:35 +01:00
Jindřich Moravec
ee2742ea03 feat(proto): add frontend messages 2023-12-11 16:43:46 +01:00
Jindřich Moravec
3512067c4e feat(proto): add backend messages 2023-12-11 16:43:19 +01:00
Jindřich Moravec
4a9bc44a0f feat(proto): add proto message trait 2023-12-11 16:42:25 +01:00
Jindřich Moravec
aa649769d2 feat(proto): add protocol primitives 2023-12-11 16:36:52 +01:00
Jindřich Moravec
f70fd6250b feat(proto): create proto crate 2023-12-11 16:28:12 +01:00
Yuriy Dupyn
cb7b50109e Further refine the interpreter 2023-10-30 22:43:27 +01:00
Yuriy Dupyn
972f849703 Add division of labour 2023-10-30 22:43:16 +01:00
Yuriy Dupyn
da9d9bf799 Merge branch 'tables' into 'main'
Refine design

See merge request x433485/minisql!1
2023-10-30 11:22:28 +01:00
Yuriy Dupyn
aa9801fd38 Add consumer parameter to insert and delete_where 2023-10-30 11:18:16 +01:00