Skip to content

Support named parameters #13

@bendem

Description

@bendem

Parse the query looking for :([a-z0-9_]+)\b not in quotes, replace them with ? and build a Map<String, List<Integer>>. Then have

public P set(String name, T value) {
    map.getOrDefault(param, Collections.emptyList())
        .forEach(idx -> set(idx, value));
    return this;
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions