Skip to content

Commit

Permalink
update master (#49)
Browse files Browse the repository at this point in the history
Update Master
  • Loading branch information
Beakerboy authored Oct 31, 2023
1 parent 6f6377f commit f2c911c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/ClassModules/SQLCondition.cls
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,24 @@ Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
' Class: SQLCondition
' A SQL Condition clause.
Private sExpression1
Private sExpression2
Private sOperator As String

Property Get Operator() As String
Operator = sOperator
End Property

' Function: Create
' Create a condition expression.
' Should this be a sub instead of a function?
'
' Parameters:
' Expression1 - data type?
' Expression2 - data type?
' Operator - The comparison operator
Public Function Create(Expression1, Expression2, Optional Operator As String = "=")
sExpression1 = Expression1
sExpression2 = Expression2
Expand Down

0 comments on commit f2c911c

Please sign in to comment.