add glob tests

This commit is contained in:
Colin Dellow 2018-07-05 21:05:06 -04:00
parent 16bc06b813
commit 980291feff
6 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,2 @@
select string_7 from nulls where string_7 glob '7'
7

View File

@ -0,0 +1,7 @@
select string_7 from nulls where string_7 glob '7*'
7
70
72
74
76
78

View File

@ -0,0 +1,2 @@
select string_7 from nulls where string_7 glob '7*8'
78

View File

@ -0,0 +1,10 @@
select string_7 from nulls where string_7 glob '*0'
0
20
30
40
50
60
70
80
90

View File

@ -0,0 +1,2 @@
select count(*) from nulls where string_7 glob '*'
50

View File

@ -0,0 +1,2 @@
select count(*) from nulls where string_7 glob '*123'
0