Comments (2)
You can use list comprehensions to do arbitrary filtering. For example [r for r in Rates.all if r.Rate_Start <= $Date]
would filter a table of Rates
for records with Rate_State
at or before a certain $Date
. There's an example like this here: https://support.getgrist.com/examples/2020-09-payroll/#under-the-hood
It would be nice to support other logical operators directly in lookupOne
/lookupRecords
, and it is on our wishlist. But in the meantime list comprehensions work well for small and medium sized documents.
Thanks for trying Grist out!
from grist-core.
Thanks. I managed to run it as instructed in the example already.
from grist-core.
Related Issues (20)
- Form bug - Can't see the "Publish" button even when being an Owner HOT 3
- When editing a medium-size text in a cell, the textarea is wery wide (width: 1240px)
- shebang should use `#!/usr/bin/env` bash instead of `#!/bin/bash`
- gvisor check fails on containers under RHEL host HOT 3
- make limit on API request body size configurable
- Unable apply Traditional Chinese Language Config on Web UI
- Adding or removing users can cause a 503 error HOT 1
- `access denied` message when closing Grist doc tour or Help pop-ups HOT 12
- gvisor sandbox fails when container storage on XFS: `OSError: [Errno 38] Function not implemented` HOT 6
- Login: store the last connection
- Allow adding a "Terms of use" link in the home page HOT 2
- forms: set <input> type HOT 2
- Clarification for `GRIST_DATA_DIR` needed. Overrides `/persist/docs` HOT 3
- Implement __dict__ for Record objects HOT 2
- API: Implement DELETE for tables
- CI: pass the number of retries to mocha HOT 1
- Record validation HOT 7
- OIDC issuer behind a proxy cannot be accessed
- OIDCConfig: email not verified for HOT 2
- Sharing form triggers authentication HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grist-core.