hank_types/
hank.database.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// @generated
// This file is @generated by prost-build.
/// Database Query Results.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Results {
    /// An array of JSON strings.
    #[prost(string, repeated, tag="1")]
    pub rows: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// A prepared statement to execute on the database.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PreparedStatement {
    /// The SQL query to execute, using ? for placeholders.
    ///
    /// Example:
    ///   SELECT * FROM table WHERE id = ?
    #[prost(string, tag="1")]
    pub sql: ::prost::alloc::string::String,
    /// An array of values to substitute each ? placeholder in the SQL query with.
    #[prost(string, repeated, tag="2")]
    pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
// @@protoc_insertion_point(module)