Comments (2)
I am also confused on how to retrieve a list of records.
In the example project, there is only one record retrieved.
/// Updates local state using the provided Record
/// - Parameter record: The record from which to get the data
private func update(with record: AirtableKit.Record) {
self.record = record
self.state.name = record.name ?? ""
self.state.age = record.age ?? 0
self.state.isCool = record.isCool ?? false
self.state.createdTime = record.createdTime ?? Date()
self.state.updatedTime = record.updatedTime ?? Date()
self.state.imageUrl = record.attachments["image"]?.first?.url ?? URL(string: AppState.placeholderStringUrl)!
If the example table contained multiple records, how would you retrieve the entire table and update the local state as an array of records so you could list all of the data?
from airtablekit.
This is also my question
from airtablekit.
Related Issues (20)
- Adding 'Delete' function to public API.
- Add README to project
- Unit tests for facade methods
- Supporting `dynamicMemberLookup
- Property wrapper for SwiftUI interface?
- Use Github wiki HOT 1
- 'Batching' operations
- Fix Example project to use final version of the Framework
- Change single-element `delete` method to be similar to the batch version.
- Retrieving an array of rows from a table HOT 1
- Offsets/more than 100 rows HOT 3
- Allow filterByFormula searches HOT 1
- Can AirtableKit handle "filterByFormula" or "View" HOT 1
- Doesn't seem to be updating table? HOT 1
- Abstracing 'Patch' and 'Put' in a single 'Update' function HOT 1
- Airtable API keys will be deprecated by the end of January 2024 HOT 1
- Make Record and Attachment more flexible
- Add Apple-like documentation HOT 1
- Create an 'Example' iOS App
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 airtablekit.