MCPcopy
hub / github.com/seaweedfs/seaweedfs / Now

Method Now

weed/query/engine/datetime_functions.go:52–54  ·  view source on GitHub ↗

Now is an alias for CurrentTimestamp (common SQL function name)

()

Source from the content-addressed store, hash-verified

50
51// Now is an alias for CurrentTimestamp (common SQL function name)
52func (e *SQLEngine) Now() (*schema_pb.Value, error) {
53 return e.CurrentTimestamp()
54}
55
56// ===============================
57// EXTRACT FUNCTION

Callers 15

testProtobufMarshalingFunction · 0.80
testTelemetryClientFunction · 0.80
mainFunction · 0.80
logMiddlewareFunction · 0.80
StoreTelemetryMethod · 0.80
GetMetricsMethod · 0.80
updateStatsMethod · 0.80
CleanupOldInstancesMethod · 0.80

Calls 1

CurrentTimestampMethod · 0.95

Tested by 15

waitForHTTPServerFunction · 0.64
waitForServerFunction · 0.64
TestEcEndToEndFunction · 0.64
waitForHTTPServerFunction · 0.64
subscribeToMetadataFunction · 0.64
followMetadataSlowlyFunction · 0.64
createMetadataEntriesFunction · 0.64
waitForFileContentFunction · 0.64
waitForFileSizeFunction · 0.64