mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
define fields enum index
This commit is contained in:
parent
490338930d
commit
fa6e9d7128
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
use sqlite::Connection;
|
use sqlite::Connection;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
|
enum Field {
|
||||||
|
Id,
|
||||||
|
Time,
|
||||||
|
}
|
||||||
|
|
||||||
pub struct Database {
|
pub struct Database {
|
||||||
connection: Arc<sqlite::Connection>,
|
connection: Arc<sqlite::Connection>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue