From 02c0f3f1d43196efdead6a6b331ca68edf1d9c54 Mon Sep 17 00:00:00 2001 From: Juan de Bruin Date: Thu, 28 Dec 2023 15:36:27 +0200 Subject: [PATCH] docs: update null convention in ORM example, since `@[nonull]` is no longer needed (#20286) --- doc/docs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index 4e9786cc62..6d3562250b 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -4978,9 +4978,9 @@ import db.sqlite @[table: 'customers'] struct Customer { id int @[primary; sql: serial] // a field named `id` of integer type must be the first field - name string @[nonull] + name string nr_orders int - country string @[nonull] + country string } db := sqlite.connect('customers.db')! @@ -7153,4 +7153,4 @@ Assignment Operators += -= *= /= %= &= |= ^= >>= <<= >>>= -``` \ No newline at end of file +```