query.pureData variable

Keeps only the properties a model actually declares.

Signature:

pureData: PureDataFunction

Remarks

The filter for input arriving from outside: anything the model does not declare as an attribute is dropped rather than passed to Sequelize, so a caller cannot set a column by sending an unexpected property. Arrays are mapped element by element, and relations are dropped along with everything else — this looks at rawAttributes only.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.