Skip to content

Filtering table field support ? #26

@heu

Description

@heu

This is missing feature as a note in README, but after take a look in code I've found that it is a trivial change as :
sync.go:197

func (r *River) makeInsertReqData(...) {
...
    if name != "-" {
    req.Data[name] = r.makeReqColumnData(&c, values[i])
    } 
...

and similar for makeUpdateReqData

By this way I can filter table field in rule's field config as:

[[rule]]

    [rule.field]
    password = "-"

So my question is: Does it has any risk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions