CQL::Relation(3pm)

πŸ“¦
version 1.13 Β· 2 versions
  • 1.13 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.13 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– CQL::Relation β€” the whole vibe ✨

ok so this is CQL::Relation(3pm), a User Contributed Perl Documentation page, and bestie it is SO much more chill than it sounds. it's a lil object that holds onto CQL relations for you. that's it. that's the girl. πŸŽ€


🌸 NAME 🌸

CQL::Relation β€” the object for CQL Relations, periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

ok so real talk: this section is literally empty in the original. no synopsis, no example, nothing. it's giving mysterious. it's giving "i'll let the DESCRIPTION speak for me." so we're not gonna make anything up, we're just gonna sit here and respect her silence. πŸ’…


✨ DESCRIPTION ✨

okay so here's the tea. CQL::Relation represents the common CQL relation operations, and those are:

  • =
  • >
  • <
  • any
  • all
  • exact

and on top of that, modifiers can be applied to them. the modifiers in question:

  • stem
  • relevant
  • fuzzy
  • phonetic

the way this works is that the operators get passed into the constructor as the base relation. that's the whole setup. constructor gets the operator, object holds the operator, modifiers can pile on top. slay. πŸ”₯


πŸ‘‘ METHODS πŸ‘‘

🫢 new()

creates a brand new CQL::Relation object, using the base relation you specify. that's the moment of creation. main character energy. ⭐

πŸ’œ getBase()

hands you back the base relation β€” the exact one the CQL::Relation object was originally created with. no substitutions, no glow-ups, the original. πŸŽ€

🌈 addModifier()

adds a new relation modifier to the specified CQLRelation.

typical relation modifiers include relevant, fuzzy, stem and phonetic. and here's the important bit bestie, don't skip it: on the whole, these modifiers have a meaningful interpretation only for the text relations. like, if it's not a text relation, don't expect the modifier to mean much. iykyk. πŸ™ˆ

πŸ“ getModifiers()

returns a list of the modifiers associated with a CQL relation. plural. a list. all of them. πŸ’–

🧚 toCQL()

listed here in the METHODS section, with no description attached in the original. so we're not inventing one β€” she's just standing there, existing, iconic. ✨

🧚 toSwish()

same deal β€” it's in the METHODS list, and the original gives it no description. noted. no cap. πŸ¦‹

🧚 toXCQL()

also in the METHODS list. also no description in the source. we respect the mystery. πŸ’…

🧚 toLucene()

last one, also in the METHODS list, also description-less in the original. four methods, zero elaboration, and honestly? that's a mood. πŸ‘‘


heads up bestie: the SYNOPSIS is empty and the toCQL(), toSwish(), toXCQL() and toLucene() methods have no descriptions in this page. that's not me being lazy, that's literally what's there, and i'm not about to make stuff up about your code. 🫢

and that's the whole page!! ok bye, this was written under perl v5.36.0, dated 2022-12-11, from the User Contributed Perl Documentation collection. mwah πŸ’‹ stay hydrated and go read your CQL relations. πŸŽ€βœ¨

πŸ“¦ where this page comes from