From f0b80c72a551af28fa5a43491daba1e1e818a4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 30 Jan 2016 15:29:24 +0100 Subject: [PATCH] README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0fc0389b5..e05e37ae1 100644 --- a/README.md +++ b/README.md @@ -1175,6 +1175,14 @@ dbQueue.inDatabase { db in See [Error Handling](#error-handling) for more information on database errors. +**Use custom functions in the [query interface](#the-query-interface):** + +```swift +// SELECT unicodeUpper("name") AS "uppercaseName" FROM persons +Person.select(unicodeUpper.apply(Col.name).aliased("uppercaseName")) +``` + + ## Raw SQLite Pointers Not all SQLite APIs are exposed in GRDB.