surrealpatch/sql/rdwr.gen.go

144 lines
2.6 KiB
Go
Raw Normal View History

2017-11-16 20:53:13 +00:00
// Code generated by https://github.com/abcum/tmpl
// Source file: rdwr.gen.go.tmpl
// DO NOT EDIT!
// Copyright © 2016 Abcum Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package sql
func (s *InfoStatement) Writeable() bool {
return false
2017-11-16 20:53:13 +00:00
}
func (s *LetStatement) Writeable() bool {
return s.RW
}
func (s *LiveStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *KillStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
2019-01-31 10:03:50 +00:00
func (s *ReturnStatement) Writeable() bool {
return s.RW
}
func (s *IfelseStatement) Writeable() bool {
return s.RW
}
2017-11-16 20:53:13 +00:00
func (s *SelectStatement) Writeable() bool {
return s.RW
}
func (s *CreateStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *UpdateStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DeleteStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RelateStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *InsertStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *UpsertStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineNamespaceStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveNamespaceStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineDatabaseStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveDatabaseStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineLoginStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveLoginStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineTokenStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveTokenStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineScopeStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveScopeStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineTableStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveTableStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineEventStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveEventStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineFieldStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveFieldStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *DefineIndexStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}
func (s *RemoveIndexStatement) Writeable() bool {
return true
2017-11-16 20:53:13 +00:00
}