From ec8edd245e1578a8f99edcbd5ae68acab5c8f3d3 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Mon, 9 Dec 2024 16:23:28 +0800 Subject: [PATCH] Update 02.html --- wwwroot/gfm/lisp/02.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wwwroot/gfm/lisp/02.html b/wwwroot/gfm/lisp/02.html index 99f876e..dcb6ca9 100644 --- a/wwwroot/gfm/lisp/02.html +++ b/wwwroot/gfm/lisp/02.html @@ -1,4 +1,4 @@ -
;<!--
+
;<!--
 ; db sqlite
 ; db.connection northwind.sqlite
 ; files s3
@@ -9,20 +9,20 @@
 (sh (str (if isWin "del" "rm") " remove.txt"))
 
 ; View all `northwind.sqlite` RDBMS Tables
-(textDump (dbTableNames) { :caption "Northwind" } )
+(textDump (dbTableNames) { :caption "Northwind" } )
 
 ; Display first `customer` row in Single Row View showing all Table Columns
 (textDump (dbSelect "select * from customer limit 1"))
 
 ; Display all Customers in London
 (def city "London")
-(textDump (dbSelect "select Id, CompanyName, ContactName from customer where city = @city" { :city city } ))
+(textDump (dbSelect "select Id, CompanyName, ContactName from customer where city = @city" { :city city } ))
 
 ; View all root files and folders in configured S3 Virtual File Provider
-(joinln (map #(str (.Name %) "/") (allRootDirectories vfsContent)))
-(joinln (map .Name (allRootFiles vfsContent)))
+(joinln (map #(str (.Name %) "/") (allRootDirectories vfsContent)))
+(joinln (map .Name (allRootFiles vfsContent)))
 
 ; Show first 10 *.png files in S3 VFS Provider
-(def pattern (or (first ARGV) "*.png"))
-(joinln (map .VirtualPath (take 10 (findFiles vfsContent pattern))))
+(def pattern (or (first ARGV) "*.png")) +(joinln (map .VirtualPath (take 10 (findFiles vfsContent pattern))))
\ No newline at end of file