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)

  • kira buckland
  • kuon (reverseblue)
  • tiger lily cookie
  • warrior of light (ff14)
  • s'irissi nunh
  • mon3tr (sharpened claws) (arknights)
  • aroma (picnic times) (arknights)
  • gracebearer (purification of the past) (arknights)
  • nowell (the spirit farer) (arknights)
  • haruka (stranded in utopia) (arknights)
  • bsd
  • exusiai the new covenant (the legend seeker) (arknights)
  • seance dog (invincible)
  • science dog (invincible)
  • ass from side
  • baguette
  • wildberry cookie
  • crunchy chip cookie
  • kirby 25th anniversary orchestra concert
  • alternate muscle size
  • more muscular than canon
  • herobrine
  • thinner than canon
  • red velvet cookie
  • toasting (gesture)

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 /