Skip to content

Query builders

sdrapkin edited this page Jan 30, 2017 · 1 revision

TinyORM ships with a set of convenient helper methods to generate SQL for common scenarios:

  • INSERT
  • UPDATE
  • UPDATE with Snapshots (partial UPDATE)
  • DELETE
  • MERGE (ex. could be used for UPSERT-like behavior)

However, you can easily create your own custom methods for convenient SQL generation specific to your needs.
(the easiest way to start is by looking at the implementation of built-in generators)

Clone this wiki locally