Skip to content

Commit 08363d3

Browse files
committed
Updated Docs
1 parent cb0dc53 commit 08363d3

3 files changed

Lines changed: 100 additions & 35 deletions

File tree

.gitignore

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@
33
# Ignore files not ready for publishing
44
GitHub_Action_Docs.md
55

6-
# Ignore archive folders
7-
/archive/
6+
# User-specific files and folders
7+
archive/
8+
temp/
9+
run.ps1
810

911
# Ignore CheatSheet and reading list files
10-
*.cheatsheet.*
11-
*.readinglist.*
12+
# Root Level Files
13+
*.readinglist.md
14+
*.cheatsheet.md
15+
*_cheatsheet.md
1216
reflog.md
1317

1418
# Ignore build output directories
@@ -25,7 +29,7 @@ reflog.md
2529

2630
# Ignore IDE-specific files
2731
.vs/
28-
.vscode/
32+
# .vscode/
2933

3034
# Ignore test results
3135
TestResults/

README.md

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<a target="_blank" href="https://github.com/BrooksV/SqlQueryClass/issues/"><img src="https://img.shields.io/github/issues/BrooksV/SqlQueryClass.svg" /></a>
88
<a target="_blank" href="https://github.com/BrooksV/SqlQueryClass/issues?q=is%3Aissue+is%3Aclosed"><img src="https://img.shields.io/github/issues-closed/BrooksV/SqlQueryClass.svg" /></a><br>
99
</div>
10+
1011
# SqlQueryClass
1112

1213
Provides functionality for executing SQL queries and managing SQL datasets
@@ -249,7 +250,7 @@ Query : SELECT * FROM INFORMATION_SCHEMA.TABLES
249250
SQLCommand : System.Data.SqlClient.SqlCommand
250251
SqlDataAdapter :
251252
ResultType : DataTable
252-
Result : {Document, Category, Entity, DocName}
253+
Result : {Document, Category, Entity, DocName…}
253254
isDirty : False
254255
QueryFile :
255256
Parent : SqlQueryDataSet
@@ -282,35 +283,35 @@ The the following ModuleTools CmdLets used in the build and maintenance process.
282283
### Folder and Files
283284

284285
.\SQLQUERYCLASS
285-
.gitignore
286-
GitHub_Action_Docs.md
287-
LICENSE
288-
project.json
289-
README.md
290-
291-
├───.vscode
292-
settings.json
293-
294-
├───archive
295-
296-
├───dist
297-
└───SqlQueryClass
298-
about_SqlQueryClass.help.txt
299-
SqlQueryClass.psd1
300-
SqlQueryClass.psm1
301-
302-
├───src
303-
├───private
304-
SqlQueryClass.ps1
305-
306-
├───public
307-
about_SqlQueryClass.help.txt
308-
New-SqlQueryDataSet.ps1
309-
310-
└───resources
311-
about_SqlQueryClass.help.txt
312-
313-
└───tests
286+
¦ .gitignore
287+
¦ GitHub_Action_Docs.md
288+
¦ LICENSE
289+
¦ project.json
290+
¦ README.md
291+
¦
292+
+---.vscode
293+
¦ settings.json
294+
¦
295+
+---archive
296+
¦
297+
+---dist
298+
¦ +---SqlQueryClass
299+
¦ about_SqlQueryClass.help.txt
300+
¦ SqlQueryClass.psd1
301+
¦ SqlQueryClass.psm1
302+
¦
303+
+---src
304+
¦ +---private
305+
¦ ¦ SqlQueryClass.ps1
306+
¦ ¦
307+
¦ +---public
308+
¦ ¦ about_SqlQueryClass.help.txt
309+
¦ ¦ New-SqlQueryDataSet.ps1
310+
¦ ¦
311+
¦ +---resources
312+
¦ about_SqlQueryClass.help.txt
313+
¦
314+
+---tests
314315
Module.Tests.ps1
315316
OutputFiles.Tests.ps1
316317
ScriptAnalyzer.Tests.ps1

git_cheatsheet.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,53 @@
22

33
Photography Co-worker Kevin Hecht (kevin.a.hecht@pwc.com)
44

5+
# To Publish Module to PowerShell Gallery
6+
7+
Publish-Module -Path <Path> -NuGetApiKey <APIKey> -Repository PSGallery
8+
9+
Publish-Module -Path "C:\Git\SqlQueryClass\dist\SqlQueryClass" -NuGetApiKey "" -Repository PSGallery
10+
11+
Find-Module -Name SqlQueryClass | Install-Module -Scope CurrentUser -AcceptLicense
12+
13+
Find-Module -Name SqlQueryClass | FL
14+
15+
Name : SqlQueryClass
16+
Version : 0.1.0
17+
Type : Module
18+
Description : Module that create an instance of a PowerShell class which is used to execute SQL Queries and manages output as DataTable, DataAdapter, DataSet, SqlReader, or NonQuery result object.
19+
Author : Brooks Vaughn
20+
CompanyName : BrooksV
21+
Copyright : (c) Brooks Vaughn. All rights reserved.
22+
PublishedDate : 2/6/2025 3:43:39 AM
23+
InstalledDate :
24+
UpdatedDate :
25+
LicenseUri : https://github.com/BrooksV/SqlQueryClass/blob/main/LICENSE
26+
ProjectUri : https://github.com/BrooksV/SqlQueryClass
27+
IconUri :
28+
Tags : {PowerShell, Database, SQL, SQLServer…}
29+
Includes : {[RoleCapability, System.Object[]], [DscResource, System.Object[]], [Cmdlet, System.Object[]], [Workflow, System.Object[]]…}
30+
PowerShellGetFormatVersion :
31+
ReleaseNotes :
32+
Dependencies : {}
33+
RepositorySourceLocation : https://www.powershellgallery.com/api/v2
34+
Repository : PSGallery
35+
PackageManagementProvider : NuGet
36+
AdditionalMetadata : @{summary=Module that create an instance of a PowerShell class which is used to execute SQL Queries and manages output as DataTable, DataAdapter, DataSet, SqlReader, or NonQuery result object.;
37+
ItemType=Module; IsPrerelease=false; PackageManagementProvider=NuGet; NormalizedVersion=0.1.0; SourceName=PSGallery; tags=PowerShell Database SQL SQLServer SQLQuery DataAdapter DataSet DataTable
38+
PSModule; description=Module that create an instance of a PowerShell class which is used to execute SQL Queries and manages output as DataTable, DataAdapter, DataSet, SqlReader, or NonQuery result
39+
object.; Authors=Brooks Vaughn; versionDownloadCount=0; GUID=8375edbe-fb0f-4cb6-acb0-9964b45725c0; lastUpdated=2/6/2025 3:43:39 AM -05:00; requireLicenseAcceptance=False; downloadCount=0;
40+
isLatestVersion=True; CompanyName=Unknown; Functions=New-SqlQueryDataSet; FileList=SqlQueryClass.nuspec|about_SqlQueryClass.help.txt|SqlQueryClass.psd1|SqlQueryClass.psm1;
41+
PowerShellHostVersion=5.1; created=2/6/2025 3:43:39 AM -05:00; isAbsoluteLatestVersion=True; copyright=(c) Brooks Vaughn. All rights reserved.; packageSize=15464; developmentDependency=False;
42+
updated=2025-02-06T03:43:39Z; published=2/6/2025 3:43:39 AM -05:00}
43+
44+
45+
46+
# Code Signing
47+
48+
Get-ChildItem -Path Cert:\CurrentUser -Recurse | FL
49+
Get-ChildItem -Path Cert:\CurrentUser\My -CodeSigningCert
50+
Get-ChildItem -Path Cert:\LocalMachine -Recurse | FL
51+
552
# git config commands
653

754
- ps.readinglist.md -- Quick Reference Reading list of helpful PowerShell sites, articles, and documents
@@ -310,3 +357,16 @@ git push origin master --force
310357

311358
- **Purpose**: To overwrite the remote `master` branch with your local changes, even if it results in non-fast-forward updates.
312359
- **Example**: Use with caution as it can overwrite changes in the remote repository that others may be relying on.
360+
361+
# 2025-02-05 22:59:55
362+
363+
git pull origin main
364+
365+
git checkout -b features/readme-updates
366+
git status
367+
368+
git commit -m ""
369+
370+
git commit -a -m "Updated SQL query class and added error handling"
371+
372+
git push

0 commit comments

Comments
 (0)