MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / handleTagCount

Function handleTagCount

shared-dom/src/language/query2sql.ts:817–826  ·  view source on GitHub ↗
(
	context: Context,
	node: QueryString | QueryRegex,
	col: RawBuilder<unknown>,
)

Source from the content-addressed store, hash-verified

815}
816
817function handleTagCount(
818 context: Context,
819 node: QueryString | QueryRegex,
820 col: RawBuilder<unknown>,
821) {
822 if (node.type === 'Regex' || node.comparison == null) throwExp()
823 context.parameterizeSql(
824 sql`${col} ${sql.raw(node.comparison)} ${parseInt(node.value)}`,
825 )
826}
827
828function handleCreatedEditedDue(
829 node: Node,

Callers 1

handleLabelFunction · 0.85

Calls 2

throwExpFunction · 0.90
parameterizeSqlMethod · 0.80

Tested by

no test coverage detected