Snippet database