package com.tasteby.mapper;

import com.tasteby.domain.Restaurant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SearchMapper {

    List<Restaurant> keywordSearch(@Param("query") String query, @Param("limit") int limit);

    List<Map<String, Object>> findChannelsByRestaurantIds(@Param("ids") List<String> ids);
}
