From 9fa972bafa40cb38bc8b2d8a60a3de4667364776 Mon Sep 17 00:00:00 2001 From: Stefano Date: Thu, 13 Nov 2025 15:32:16 +0100 Subject: [PATCH] fix readme --- src/arduino/app_bricks/dbstorage_sqlstore/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arduino/app_bricks/dbstorage_sqlstore/README.md b/src/arduino/app_bricks/dbstorage_sqlstore/README.md index 704a9e62..53a837d0 100644 --- a/src/arduino/app_bricks/dbstorage_sqlstore/README.md +++ b/src/arduino/app_bricks/dbstorage_sqlstore/README.md @@ -35,7 +35,7 @@ db = SQLStore("example.db") # ... Do work # Close database -db.close() +db.stop() ``` To create a new table: @@ -65,4 +65,4 @@ db.store("users", data) The SQLStore automatically creates a directory structure for database storage, placing files in `data/dbstorage_sqlstore/` within your application directory. The brick supports automatic type inference when creating tables, mapping Python types (*int*, *float*, *str*, *bytes*) to corresponding SQLite column types (*INTEGER*, *REAL*, *TEXT*, *BLOB*). -The `store()` method can automatically create tables if they don't exist by analyzing the data types of the provided values. This makes it easy to get started without defining schemas upfront, while still allowing explicit table creation for more control over column definitions and constraints. \ No newline at end of file +The `store()` method can automatically create tables if they don't exist by analyzing the data types of the provided values. This makes it easy to get started without defining schemas upfront, while still allowing explicit table creation for more control over column definitions and constraints.