getTableMap returns the tableMap for this root.
(ctx context.Context, schemaName string)
| 916 | |
| 917 | // getTableMap returns the tableMap for this root. |
| 918 | func (root *RootValue) getTableMap(ctx context.Context, schemaName string) (storage.RootTableMap, error) { |
| 919 | if schemaName == "" { |
| 920 | schemaName = doltdb.DefaultSchemaName |
| 921 | } |
| 922 | return root.st.GetTablesMap(ctx, root.vrw, root.ns, schemaName) |
| 923 | } |
| 924 | |
| 925 | // putTable provides an inner implementation that is called from multiple other functions. |
| 926 | func (root *RootValue) putTable(ctx context.Context, tName doltdb.TableName, ref types.Ref) (doltdb.RootValue, error) { |
no test coverage detected