func (c *Client) SyncSchema(schema *Schema) error {
	span := c.tracer.StartSpan("Client.SyncSchema")
	defer span.Finish()

	serverSchema, err := c.Schema()
	if err != nil {
		return err
	}

	return c.syncSchema(schema, serverSchema)
}
func (c *Client) SyncSchema(schema *Schema) error {
	span := c.tracer.StartSpan("Client.SyncSchema")
	defer span.Finish()

	serverSchema, err := c.Schema()
	if err != nil {
		return err
	}

	return c.syncSchema(schema, serverSchema)
}
func ( c * Client ) SyncSchema ( schema * Schema ) error { span := c . tracer . StartSpan ( " " ) defer span . Finish ( ) serverSchema , err := c . Schema ( ) if err != nil { return err } return c . syncSchema ( schema , serverSchema ) }
// SyncSchema updates a schema with the indexes and fields on the server and
// creates the indexes and fields in the schema on the server side.
// This function does not delete indexes and the fields on the server side nor in the schema.
SyncSchema updates a schema with the indexes and fields on the server and creates the indexes and fields in the schema on the server side . This function does not delete indexes and the fields on the server side nor in the schema .