Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace updated_at with updated_at_ms wherever it is used as a Validity in cozo relations #348

Open
creatorrr opened this issue May 29, 2024 · 0 comments

Comments

@creatorrr
Copy link
Contributor

updated_at: Validity default [floor(now()), true], should be change to =>
updated_at_ms: Validity default [floor(now() * 1000), true],

coz validity is an integer only and floor(now()) returns seconds which means that the most frequently that record can be updated is at a per second interval.

@creatorrr creatorrr changed the title bug: Replace updated_at with updated_at_ms wherever updated_at is used as a Validity in cozo relations Replace updated_at with updated_at_ms wherever updated_at is used as a Validity in cozo relations May 30, 2024
@creatorrr creatorrr changed the title Replace updated_at with updated_at_ms wherever updated_at is used as a Validity in cozo relations Replace updated_at with updated_at_ms wherever it is used as a Validity in cozo relations May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant