Skip to content

Datetime docs? #280

Open
Open
@zachgrayio

Description

@zachgrayio

given schema

box.schema.space.create('some_space', {
    format = {
        {name = 'somedate', type = 'datetime'},
        ... 
    }
})

trying to write some data with the go driver gets me:

Tuple field 13 (somedate) type does not match one required by operation: expected datetime, got string

changing the schema to type = 'string' and it seems to just work fine, so I assume either the datetime package isn't functioning as expected, and again there's no docs or full examples. is this expected? am I doing something wrong? can we get some docs created someday?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docRelated to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions