REST from your database catalog
    DocumentationCheat sheetQuestionsDownloadSource
    Questions
    • How do I...?
    Start here
    • Getting started
    • What a table becomes
    • Compared with PostgREST
    Setting up
    • Tables, columns and relations
    • Security and hooks
    • Writes and procedures
    • Prefer: return=representation
    • Node, Fastify, Express
    Reading
    • select
    • /{key}
    • relation(...)
    • order
    • limit, offset
    • relation.order, .limit
    • count
    • count(), sum(), avg()...
    • "name"
    Filtering
    • eq, neq
    • gt, gte, lt, lte
    • in
    • like, ilike
    • match, imatch
    • is
    • ov, cs, cd
    • not
    • relation.column
    • or, and
    Databases
    • Supported databases
    • Adding a database
    Reference
    • Cheat sheet
    • Errors
    Filtering

    Match a regular expression

    Keep the text that matches a regular expression; imatch ignores case.

    PostgreSQL, MySQL only
    name=match.^fname=imatch.(rent|taxes)$

    Regular expressions run in the database, so they follow its own flavour. SQLite and SQL Server have none: there, these operators answer unsupported rather than quietly doing something else.

    Examples

    Names starting with f: file taxes and fix bike, on PostgreSQL or MySQL.
    /todos?select=name&name=match.^f

    Asking the database...

    See alsoMatch a pattern
    PreviousMatch a patternNext Null, true, false, empty
    restloom - a REST API generated from your database catalog
    DocumentationDownloadSource