Closed itzjustalan closed 1 year ago
Describe the bug Module '"cirql"' has no exported member 'timeNow'.
Example https://cirql.starlane.studio/docs/guide/basic-usage#raw-query-values--operators
const profile = await cirql.execute({ query: create('organisation').setAll({ name: 'Example', isEnabled: eq('$enable'), createdAt: eq(timeNow()) // time::now() }), schema: Organisation, params: { enable: true } });
Expected behavior for it to work
Environment:
We renamed this function a few releases ago. The docs will be updated to reflect this soon.
You can now use
import { time } from 'cirql'; time.now()
Describe the bug Module '"cirql"' has no exported member 'timeNow'.
Example https://cirql.starlane.studio/docs/guide/basic-usage#raw-query-values--operators
Expected behavior for it to work
Environment: