Is there any way to name fields similar to columns in SQL?
The idea is that I might want to insert a customer record with: - Name - Phone - Email - Website
some fields might be present sometimes, other not, and they might be presented in different order.
Is there any other way to insert the records into a tuple referencing them by field name?
Something in pseudocode like:
s:insert(1, "name": "foo name", "phone": "foo phone")
s:insert(2, "phone": "bar phone", "name": "bar name", "email": "bar email")