mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
add optional serde implementations for parser ast
This commit is contained in:
parent
f1146e716c
commit
f535ff1398
6 changed files with 92 additions and 1 deletions
5
simulator/model/query/expr.rs
Normal file
5
simulator/model/query/expr.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
use limbo_sqlite3_parser::ast;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
struct Predicate(ast::Expr);
|
|
@ -15,6 +15,7 @@ pub mod create;
|
|||
pub mod create_index;
|
||||
pub mod delete;
|
||||
pub mod drop;
|
||||
pub mod expr;
|
||||
pub mod insert;
|
||||
pub mod select;
|
||||
pub mod update;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue