Has Metadata
Checking metadata is exist or checking specific keys.
🔥 hasMetadata
hasMetadata
Check if a record of the relationship exists.
regardless of whether the metadata content is empty or not.
🔥 hasFilledMetadata
hasFilledMetadata
Check if a record of the relationship exists.
Check metadata column contains data that is not empty
🔥 hasKeyMetadata
hasKeyMetadata
Check if the metadata contains a specific key.
regardless of whether the key content is empty.
🔥 hasAllKeysMetadata
hasAllKeysMetadata
Check if the metadata contains all specified keys.
regardless of whether all keys content is empty.
🔥 hasAnyKeysMetadata
hasAnyKeysMetadata
Check if metadata contains any of the specified keys.
regardless of whether all keys content is empty.
🐞 Examples
📚 Summary
hasAllKeysMetadata()
- Returns true only if ALL specified keys existhasKeyMetadata()
- Convenience method for checking a single key, internally useshasAllKeysMetadata()
hasAnyKeysMetadata()
- Returns true if ANY of the specified keys exist
Last updated