mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
fixes f.SetBit
This commit is contained in:
parent
7913a419ae
commit
745ec43432
1 changed files with 1 additions and 1 deletions
2
field.go
2
field.go
|
|
@ -802,7 +802,7 @@ func (f *Field) Row(rowID uint64) (*Row, error) {
|
|||
// SetBit sets a bit on a view within the field.
|
||||
func (f *Field) SetBit(rowID, colID uint64, t *time.Time) (changed bool, err error) {
|
||||
viewName := viewStandard
|
||||
if f.options.Type == FieldTypeTime && !f.options.NoStandardView {
|
||||
if !f.options.NoStandardView {
|
||||
// Retrieve view. Exit if it doesn't exist.
|
||||
view, err := f.createViewIfNotExists(viewName)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue