Danbooru
Login Posts Comments Notes Artists Tags Pools Wiki Forum More ยป
Search Changes Help | Posts (0) History
  • Help
guro
scat
furry -rating:g

Recent Changes (all)

  • fumi (nijisanji)
  • luis cammy (school uniform)
  • e=mc2 (equation)
  • list of nijisanji official costumes
  • luis cammy
  • luis cammy (1st costume)
  • luis cammy (7th costume)
  • satou yuri (otaku no video)
  • gransurg blackmore
  • fubukihime
  • fujihara misuzu
  • kubo ken
  • tanaka (otaku no video)
  • hinakura riko
  • buton (rance)
  • mountainous horizon
  • umamusume horse relations
  • goalkeeper
  • nyarlathotep (synthesizer v)
  • help:dtext
  • kenmochi touya (15th costume)
  • kenmochi touya (14th costume)
  • kenmochi touya (12th costume)
  • puripuriaiai
  • zeta (kagejitsu)

Options

  • Wiki History
  • Discussions
  • What Links Here

help:array syntax

When searching by arrays, the following variations on search parameters can be used.

Whitespace separated lists

These parameter variations use whitespace (spaces, tabs, linebreaks) as a separator for the array, regardless of whether the individual items are numbers or text. This is the default and has no qualifier.

Array separated lists

These parameter variations use the URL array format (Help:Array format) to input the separate search items. Is denoted with the qualifier "array".

Lowercase lists

These parameter variations apply a lowercase transformation to both the input and the record fields when making the comparisons. Is denoted with the qualifier "lower".

Includes any

Will return all records that include any of the items from the array. Is denoted with the qualifier "include_any".

Includes all

Will return all records that include all of the items from the array. Is denoted with the qualifier "include_all".

Any matches regex

Regex equality comparison against each value in the record's array. Follows Postgres' ERE regex formatting rules (see External links below).

Count

Searches using the count of items in the array. Uses the same parameter format as numbers (see Help:Number syntax).

All parameter variations

For the following, NAME is the name of the record field being searched for, and SINGULAR is the singular name of that record field.

  • NAME_include_any
  • NAME_include_all
  • NAME_include_any_array
  • NAME_include_all_array
  • NAME_include_any_lower
  • NAME_include_all_lower
  • NAME_include_any_lower_array
  • NAME_include_all_lower_array
  • any_SINGULAR_matches_regex
  • SINGULAR_count

See also

  • Help:Array format
  • Help:API

External links

  • Postgres article on regular expressions
  • https://github.com/danbooru/danbooru/blob/master/app/logical/concerns/searchable.rb
Terms / Privacy / Upgrade / Contact /