MCPcopy
hub / github.com/Vincit/objection.js / defaultModelFieldValues.js

File defaultModelFieldValues.js

tests/integration/misc/defaultModelFieldValues.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { expect } = require('chai');
2const { Model } = require('../../../');
3
4module.exports = (session) => {

Callers

nothing calls this directly

Calls 14

afterFunction · 0.85
insertGraphMethod · 0.80
allowGraphMethod · 0.80
withGraphFetchedMethod · 0.80
findByIdMethod · 0.80
withGraphJoinedMethod · 0.80
forMethod · 0.80
$relatedQueryMethod · 0.80
queryMethod · 0.65
relatedQueryMethod · 0.65
insertMethod · 0.45
patchMethod · 0.45

Tested by

no test coverage detected