Commit Graph

19 Commits

Author SHA1 Message Date
shockrah
65532def98 added delete method for messages 2020-09-17 21:54:54 -07:00
shockrah
2642fdb8b3 adding wrapper for messages 2020-09-17 21:51:23 -07:00
shockrah
51ca960dbb made private members public 2020-09-17 21:03:30 -07:00
shockrah
5950f3b505 added ded simple delete interface for channels 2020-09-17 20:10:14 -07:00
shockrah
e616a160fa proper query for invites::update hehexd 2020-09-17 20:06:34 -07:00
shockrah
b673fc6ca1 better formatted error messages
also reworked error messages so they create Strings and dont use `&'static str`'s anymore
2020-09-17 20:05:33 -07:00
shockrah
5e48fa1ab9 update method now written should build fine 2020-09-17 19:40:54 -07:00
shockrah
d08ae63f50 new macro to make error reporting a bit clearer 2020-09-17 19:35:22 -07:00
shockrah
471639a635 file for channels db api 2020-09-17 18:55:27 -07:00
shockrah
d6571b17ca exposing invites struct as public 2020-09-17 15:04:23 -07:00
shockrah
0b42675739 general code for invites db wrapper 2020-09-16 23:14:07 -07:00
shockrah
d5f2b569cb removed some harmless warnings 2020-09-15 22:56:45 -07:00
shockrah
fb0df20715 added delete method for members 2020-09-06 20:05:34 -07:00
shockrah
49344b5aae implemented FromDB<T> trait for public Member type 2020-09-02 20:15:43 -07:00
shockrah
4e591d8318 main lib interface for userland code in main project 2020-09-02 20:15:21 -07:00
shockrah
d91666658b Added trait to interact with database
something which any database related type should implement soon
2020-09-02 20:13:36 -07:00
shockrah
31e011ac49 async_trait crate added 2020-09-02 19:12:20 -07:00
shockrah
89b042ba9e Using async_trait crate to let us create asynchronous trait functions
this is only temporary until the rust standard changes
2020-09-02 19:12:05 -07:00
shockrah
2981cbc30b deps for db interface 2020-09-02 17:00:21 -07:00