Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>SpringQuery-SnippetsNew to Visual Studio Code? Get it now.
SpringQuery-Snippets

SpringQuery-Snippets

oceansam

|
489 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Springboot Query Snippets

A list of snippets I found useful when making REST apis using springboot

Example Use Case

image

Queries supported

  • FindByColumn
  • FindByColumnAndColumn
  • FindByColumnOrColumn
  • FindByColumnLike
  • FindByColumnNotLike
  • FindByColumnOrderBy
  • FindByColumnTrue
  • FindByColumnFalse
  • FindByColumnStartingWith
  • FindByColumnEndingWith
  • FindByColumnBetween
  • FindByColumnGreaterThan
  • FindByColumnLessThan

Notes

As I progress with springboot I will update the snippets used as CrudRepositories have high support for very versatile queries.

Please see documentation for further detail.

https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.query-methods.query-creation

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft