mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-11 14:32:04 +00:00
Change tag and policy names to ObjectName
(#1892)
This commit is contained in:
parent
239e30a97c
commit
942d747d89
5 changed files with 53 additions and 21 deletions
|
@ -9372,12 +9372,12 @@ impl Display for RowAccessPolicy {
|
|||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
|
||||
pub struct Tag {
|
||||
pub key: Ident,
|
||||
pub key: ObjectName,
|
||||
pub value: String,
|
||||
}
|
||||
|
||||
impl Tag {
|
||||
pub fn new(key: Ident, value: String) -> Self {
|
||||
pub fn new(key: ObjectName, value: String) -> Self {
|
||||
Self { key, value }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue